<script src="jquery-1.6.3.min.js" language="javascript" type="text/javascript"></
script>
<select name="myNum" Id="myNum" >
<option value="0"><-- Select --></option>
</select>
<br/>
<input type="button" id="myadd" name="myadd" value="Add"/>
<script>
$(function(){
$("#myadd").click(function() {
$('#myNum').empty();
var i;
for(i=0;i<=10;i++) {
$('#myNum').append('<option value="' + i + '">' +i + '</option>');
}
});
});
</script>
<select name="myNum" Id="myNum" >
<option value="0"><-- Select --></option>
</select>
<br/>
<input type="button" id="myadd" name="myadd" value="Add"/>
<script>
$(function(){
$("#myadd").click(function() {
$('#myNum').empty();
var i;
for(i=0;i<=10;i++) {
$('#myNum').append('<option value="' + i + '">' +i + '</option>');
}
});
});
</script>
Create Dynamic Pie Chart using Google API
ReplyDeleteDriving route directions
CSS Simple Menu Navigation Bar
jQuery loop over JSON result
PHP MYSQL Advanced Search Feature
Simple Show Hide Menu Navigation