[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Select box
Advertisement

Select box

Moderators: Calcifer, slothy

Select box

Postby nonito » Wed Dec 13, 2006 2:48 pm

nonito
 
Posts: 2
Joined: Wed Dec 13, 2006 2:39 pm

This worked

Postby nonito » Fri Dec 15, 2006 2:02 pm

<SELECT NAME="sel" size="1" onChange="if(this.options[this.selectedIndex].exec)alert(unescape(this.options[this.selectedIndex].exec))">
<option selected value="Select Action">Select Action</option>
<option value="Add a Program to Bug Master">Add a Program to Bug Master</option>
<option exec="displayStaticMessage%28%27%3Ch1%3EStatic%20message%3C/h1%3E%3Cp%3EThis%20is%20a%20static%20message%3C/p%3E%3Cp%3E%3Ca%20href%3D%5C%27%23%5C%27%20onclick%3D%5C%27closeMessage%28%29%3Breturn%20false%5C%27%3EClose%3C/a%3E%27%2Cfalse%29%3B">Email Access</option>
</SELECT>
nonito
 
Posts: 2
Joined: Wed Dec 13, 2006 2:39 pm


Return to General questions regarding AJAX scripts

Who is online

Users browsing this forum: No registered users and 13 guests

cron