on 12-05-2007 6:06 PM
Hi BW Gurus,
I have created a Web Template in WAD 3.5. I have included two dropdown boxes, one dataprovider, one Filter Item, a Table Item and four buttons with help of form tag. When i select a button the structure of the table is changed and the clicked button is highlited. When i select the a value in dropdown box the table is filtered but my clicked button is not highlited, can any one correct the javascript included in the template. I am attaching the URL here. The button class should not be changed when i select a value in a dropdown box
Thanks in advance
<a href="http://download.yousendit.com/74091B5C0852E022">Click the link to download the template</a>
Ranga,
Your problem seems to be this. When you click on a button it refreshes the entire query and applies the filter you wish it to. However, when you select a value from a dropdown box it only filters the table, it does not refresh the query. This prevents your javascript to color the buttons from running when it is chosen from the dropdown. I would suggest adding an event to the dropdown boxes so that it will call the javascript function for you. This should fix the problem.
Cheers,
Rusty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hedrick,
Thanks for your response, can u send me code for writing an event i.e. onselecting the values in both the dropdown boxes i have to call the script function.
<b><param name="SCRIPT_FUNCTION" value="set_color01()"/>
</b>
This is not working how do i call the function with an event.
Thanks you for your help.
Regards
Ranga
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.