Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Hide/Show fields based on option chosen in complex dropdown (I suspect javascript onChange event not firing in sharepoint complex dropdown)

$
0
0
Siyasanga:

You're correct in assuming that the complex dropdowns are still there in the background. What I do is hide the complex dropdown and create an equivalent simply dropdown. My code then fires wheneever the simple dropdown changes, updating the complex dropdown accordingly.

Based on what you describe, what you are doing should work. The simple dropdown is just a seelct, so the normal change event does indeed fire. I think you're simply going to have to do dome debugging to see what's happening. Are you seeing any errors in IE? Also, since you've already got jQuery loaded, it would be far easier to do the selecting and binding with jQuery than JavaScript.

M.

Viewing all articles
Browse latest Browse all 6517

Trending Articles