Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on encoding issue.......... within the JavaScript forums, part of the Web Development category; Hi Frnds, I am passing a user name as a URL queryString. The user name has a back slash which is getting escaped. Please help. Code : js fn - ...
|
|||||||
|
|||
|
encoding issue..........
Hi Frnds,
I am passing a user name as a URL queryString. The user name has a back slash which is getting escaped. Please help. Code : js fn - var reassignTo = '<%=request.getAttribute("reassignTo") %>'; // user name is 'NIH\ADAMSBR' function reassignOwnership(){ window.opener.showProcessingSpan(); var url = '<%= sServletBaseHREF %>admin/manageUserItem.reassignOwnership.grs?itemType=' + itemType + '&owned=' + owned +'&<%=ManageUserItemController.ITEM_REASSIGN_TO_OWNER_TOKEN%>=' + reassignTo; alert(url); window.opener.document.location = url; window.close(); } When I alert the URL, 'NIH\ADAMSBR' comes as 'NIHADAMBR'. Plz guide me to correct this problem ......... Thanks in advance....... |
| Sponsored Links |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hi all, i have an issue :(( | Bubus | LoadRunner | 2 | 11-18-2008 06:50 AM |
| Issue | nageshkota | SQL Server | 5 | 09-09-2008 04:52 AM |
| database issue | deevali | Oracle | 1 | 07-03-2008 04:47 AM |
| Testing issue | sakshi_2801 | Testing Issues | 3 | 01-21-2008 02:33 AM |
| ADF table issue.. | psuresh1982 | Oracle | 1 | 07-19-2007 04:04 AM |