
September 17th, 2007, 10:45 AM
|
|
Registered User
|
|
Join Date: Aug 2007
Posts: 4
Time spent in forums: 38 m 10 sec
Reputation Power: 0
|
|
|
String char "?" and "w"
Hi all,
I am trying to pass a fileUrl to another window and the character "?" in the url link ,somehow, converts to a "w" in the link. What is happening here and how do I fix this? So instead of:
myproject/mypage?val=123&err=0
i got this:
myproject/mypagewval=123&err=0 <----(w in place of ?)
Here is the code i used.
......
Code:
<cffunction name="abc">
<cfargument name="errorNumber" type="numeric" required="yes">
<cfargument name="fileUrl" type="string" required="no" default="/myproject/mypage?val=#myvar#"&err=#myError#>
<cfoutput>
<script type="text/javascript">
window.parent.OnUploadCompleted(#errorNumber#,"#JSStringFormat(fileUrl)#");
</script>
</cfoutput>
</cffunction>
Thanks
|