469,575 Members | 1,680 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,575 developers. It's quick & easy.

Dropdownlist selectedindexchanged event in JAVASCRIPT?

How to fire Dropdownlist selectedindexchanged event in JAVASCRIPT?

Actually i want that on Dropdownlist selectedindexchanged event i got displayed data from a XML file.....!!
Jan 2 '08 #1
3 22282
rpnew
188 100+
How to fire Dropdownlist selectedindexchanged event in JAVASCRIPT?

Actually i want that on Dropdownlist selectedindexchanged event i got displayed data from a XML file.....!!
Hi,
You can use the following...........

Expand|Select|Wrap|Line Numbers
  1. <select onChange="javascript: somefunction()">
  2.  
To display data from XML file. try using Ajax or something........

Regards,
RP
Jan 2 '08 #2
gits
5,390 Expert Mod 4TB
one note:

write the attribute-names in lower-case and always leave javascript: ... the following is always enough ...

Expand|Select|Wrap|Line Numbers
  1. <select onchange="somefunction();">
  2.  
kind regards
Jan 2 '08 #3
rpnew
188 100+
one note:

write the attribute-names in lower-case and always leave javascript: ... the following is always enough ...

Expand|Select|Wrap|Line Numbers
  1. <select onchange="somefunction();">
  2.  
kind regards
Hi gits
thanks for the info
Regards,
RP
Jan 2 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Shiju Poyilil | last post: by
1 post views Thread by sergeyr3 | last post: by
4 posts views Thread by David | last post: by
11 posts views Thread by Santosh | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.