d-machine
08-24-2009, 04:27 PM
Hi,
I've wrote this:
Html:
<select>
<option value="black" onclick="updatec()">Black</option>
</select>
JS:
function updatec() {
alert(this.getPropertyValue());
}
What's wrong in what I've written?
I want it to open a pop up that says black, like the value of this option.
I've wrote this:
Html:
<select>
<option value="black" onclick="updatec()">Black</option>
</select>
JS:
function updatec() {
alert(this.getPropertyValue());
}
What's wrong in what I've written?
I want it to open a pop up that says black, like the value of this option.