• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

window.location

 
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,

is there any alternative for window.location = "\one.jsp";

when we tested our application on Netscape 7.2 running on iPortal it seems that window.location = "url" and changing the form.action dynamically from javascript is not working.. we r able to resolve th issue with changeing the form action.. but cldnt fix window.location = ".."; yet

can anyone help me on this ??

result.html



in the above code is it possible to replace window.location with some other code ??

thanks,
rajeev
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you want to change the form cation?

then it would be

document.formName.action = "blah.jsp";

If you want to submit the form you owuld use
document.formName.submit();

Eric
 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you tried
window.location.href="\blaf.html"
instead of
window.location

also, if you are going to use
document.formName.action = "blah.jsp";

make sure the form does not have an element named "action", it is a very common mistake
[ September 23, 2004: Message edited by: Yuriy Fuksenko ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic