My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 210: QUESTION : Can i use nyrmodal to show Hidden HTML DOM Element using a dropdown combo box?
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Apr 2009


 
Reported by kbit...@gmail.com, Apr 2, 2009

I would like to display hidden html dom element using nyromodal everytime
onchange is triggered in the dropdowon select box... would it be possible?
sample code would be greatly appreciated. Thanks and more power.

Apr 9, 2009
Project Member #1 nyro...@gmail.com
for sure you can do it.
here is a quick sample:
<select id="mySel">
	<option value="1">1</option>
	<option value="2">2</option>
	<option value="3">3</option>
	<option value="4">4</option>
</select>
<div id="content" style="display: none">
	Here is my hidden content
</div>
<script type="text/javascript">
$(function() {
	$('#mySel').change(function() {
		$.nyroModalManual({
			url: '#content'
		});
	});
});
</script>
Status: Fixed

Powered by Google Project Hosting