I want to popup alert if elements values are empty or zero. I want to use Impromptu for that. here is example of Impromptu:
and my input elements are:
<select name="side_room_type" id="room_type" onchange="return getAdultRoom(this.value)" class="input-medium"><option value="0">Select Room Type</option><option value="5">Family Room</option><option value="7">Seaside Rooms</option></select>
<input type="hidden" name="side_check_in_date" onchange="return getAdultRoom(this.value)" id="side_check_in_date" value="">
<select name="side_adults" id="adults" class="input-medium"><option value="">Select Adults</option></select>
How can I use Impromptu for alerts? Thank you in advance.
A rough assumption of what you want:
This worked for me.