Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Adding an "alert" solves my problem?!
System
TS 6.5 SP1, Win 2k3
I have two drop-down lists, one which is static and the other which is dynamic and depends on the selected value of the first drop-down list. In typical fashion, when a user opens an existing DCR, I want the dynamic drop-down list's saved value to display properly. So, I'm calling the same function in my init() function and as an addItemHandler which builds the list of options according to what is currently selected in the static drop-down. If the DCR is new, no big deal -- nothing is populated. If it's an existing DCR, my code *should* cause the saved value to be saved by default.
However, it's always the first option which is selected by default and -- here's the weird part -- when I add an alert in the function, the proper option is selected.
The guts of my JS function is attached -- sorry it's attached but this POS DevNet software strips out my greater than and less than signs whether I put it in a CODE or HTML block or even if I leave it blank. Anyway, that's a separate gripe...
Dave
Find more posts tagged with
Comments
There are no comments yet