• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set action of form through javascript

 
Satyajit Bhadange
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi.

I have drop down on my page.

Different action should be called based on drop down value.
Is it possible to achieve ?

Don't want to go through dispatch action way.

Thank you
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Satyajit Bhadange wrote:
Is it possible to achieve ?


Certainly. Have you tried to do it? What does your code look like?
 
Satyajit Bhadange
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


on chage of dropdown i am setting values like this
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Satyajit Bhadange wrote:


I sure hope that's a typo.

Satyajit Bhadange wrote:


I've never tried document.all. I have used

with success.
 
Satyajit Bhadange
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey

thanks for reply.

I tried it with



It worked.Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic