Hi All-
I need to add the following asp into my url within my menu item.
<%=encode("deferrals")%>
This does not work for what appears to be several reasons
aI("text=deferrals ;url=FileUpload.asp?file=<%=encode("deferrals")%>;");
I have several other items on the same menu that require the same encoding. I am not to familar with asp or javascript and I am ready to break!
Any help with this would be much appreciated!
Need to insert asp into aI url
Need to insert asp into aI url
Thanks,
Paulzy
Paulzy
The encode function is being called from an ASP include file.
all links on our site are encoded due to the nature of the information(finances).
This is what I see in the address bar when I click the link:
https://xxxx.xxxxx.xxx/xxx/FileUpload.a ... e("buttons")%>
This is what I should see:
https://xxxx.xxxxx.xxx/xxx/FileUpload.a ... yYvRmbhxGc
The "==czM3wyYvRmbhxGc" part is encrypted to protect client info and it also tells the page what type of file is being loaded.
I need to pass this into my menu_data.js submenu link. If I put the link on any of my pages it works fine. If I try to put it in the menu it does not.
Does that make any sense?
all links on our site are encoded due to the nature of the information(finances).
This is what I see in the address bar when I click the link:
https://xxxx.xxxxx.xxx/xxx/FileUpload.a ... e("buttons")%>
This is what I should see:
https://xxxx.xxxxx.xxx/xxx/FileUpload.a ... yYvRmbhxGc
The "==czM3wyYvRmbhxGc" part is encrypted to protect client info and it also tells the page what type of file is being loaded.
I need to pass this into my menu_data.js submenu link. If I put the link on any of my pages it works fine. If I try to put it in the menu it does not.
Does that make any sense?
Last edited by p.timberg on Wed Dec 15, 2004 6:42 pm, edited 1 time in total.
Thanks,
Paulzy
Paulzy
The output looks like raw ASP that hasn't been parsed.
Have you tried renaming menu_data.js to menu_data.asp and seen if that makes any difference.
If the filename is .js it will not have been parsed through the ASP interpreter, this mean is that Internet Information Server will treat the file as plain text and deliver it without any changes.
Hope this helps
Andy
Have you tried renaming menu_data.js to menu_data.asp and seen if that makes any difference.
If the filename is .js it will not have been parsed through the ASP interpreter, this mean is that Internet Information Server will treat the file as plain text and deliver it without any changes.
Hope this helps
Andy