Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Check to see if radio button is selected, Where is Joel Pou's file?

$
0
0

HI

In this fourm  I found a very intersting post, see 

 

http://forums.adobe.com/thread/1169078

 

Joel Pou gave here  a correct answer, and link to a project for downloading:

 

http://forums.adobe.com/thread/1169078

 

But now, I can't download the file, because it is removed.  I have tried to duplicate the project, but it won't work......

 

Anoyone who knows how to do this?   Here is what I get:

 

var sporsmal=sym.$("sporsmal");

sporsmal.html('<form><input type="radio" name="spm1" value="right" />London</br>'

+'<input type="radio" name="spm1" value="wrong"/>Hamburg'

+'</form');

 

 

sym.$("sporsmal").change(function()

   {

     if sym.$("sporsmal").value==right then

     alert ('you ae right');

 

   }

);

 

The change part works fine, if I replace the if tewst with a alert, I get an alert  but I'm not able to get the value


Viewing all articles
Browse latest Browse all 9897

Trending Articles