---
title: "How is encoding handled in AJAX?"  
description: "How is encoding handled in AJAX?"  
author: "Varun Agrawal"  
published: 2011-03-29  
updated: 2020-09-20  
canonical: https://www.mindstick.com/interview/752/how-is-encoding-handled-in-ajax  
category: "ajax"  
tags: ["ajax"]  
reading_time: 1 minute  

---

# How is encoding handled in AJAX?

Ways to handle encoding in AJAX:

- Using encodeActionURL() method to refresh the complete page
- Using encodeResourceURL() method to partially update a page.

## Answers

### Answer by Varun Agrawal

Ways to handle encoding in AJAX:

- Using encodeActionURL() method to refresh the complete page
- Using encodeResourceURL() method to partially update a page.


---

Original Source: https://www.mindstick.com/interview/752/how-is-encoding-handled-in-ajax

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
