Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE DREAMWEAVER:HomeDreamweaver ForumDreamweaver TutorialsFAQAdobe FlashWeb Design

Re: spry repeat list

COW Forums : Adobe Dreamweaver

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread



Abraham ChaffinRe: spry repeat list
by on Oct 21, 2008 at 9:30:36 pm

I've taken a look at the code and the problem is that using that method is working with an onclick event. You're looking for a change event. What you have to do is use a different spry method that will execute onchange (on the changing of the selected index of the menu) such as this:


<div spry:region="ds1">
<select spry:repeatchildren="ds1" onchange="ds1.setCurrentRow(this.value)">
<option value="{ds_RowID}">{title}</option>
</select>
</div>



Use the ds_RowID as the value of the dropdown option field and then have the menu change the current row of the spry data set to the selected value.

Abraham


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]