C
Cobus2408
Guest
I have a web page where I want to select a main category and sub category I wan to do this programmaticly .I can fill in the username and password but I'm stuck further on:
The page source
I Need to fill in the options in red and green
<div col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding-bottom:15px">
<label for="category" col-lg-4 col-md-4 col-sm-12 col-xs-12">Main Category</label>
<div col-md-8 col-sm-12 col-xs-12 ">
<select id="category" name="category"><option selected="selected" value="">Select your Category</option><option value="17">Beauty & Spas</option><option value="9">Building & Construction</option><option value="4">Business & Finance</option><option value="15">Community</option><option value="12">Education</option><option value="3">Employment</option><option value="7">Event Planning</option><option value="20">Farming</option><option value="19">Healthcare</option><option value="18">Holidays & Travel</option><option value="10">Home & Garden</option><option value="21">Industry</option><option value="16">Leisure</option><option value="11">Pets</option><option value="2">Property</option><option value="14">Public Services</option><option value="8">Restaurants & Nightlife</option><option value="6">Shopping</option><option value="13">Sports & Outdoors</option><option value="5">Technology</option><option value="1">Vehicles</option></select>
</div>
</div>
<div col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding-bottom:15px">
<label for="sub_category" col-lg-4 col-md-4 col-sm-12 col-xs-12">Sub-Category</label>
<div col-md-8 col-sm-12 col-xs-12 ">
<select display="none" id="sub_category" name="sub_category"><option value="0">Select your Sub-Category</option></select
follows
Continue reading...
The page source
I Need to fill in the options in red and green
- Main category
<div col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding-bottom:15px">
<label for="category" col-lg-4 col-md-4 col-sm-12 col-xs-12">Main Category</label>
<div col-md-8 col-sm-12 col-xs-12 ">
<select id="category" name="category"><option selected="selected" value="">Select your Category</option><option value="17">Beauty & Spas</option><option value="9">Building & Construction</option><option value="4">Business & Finance</option><option value="15">Community</option><option value="12">Education</option><option value="3">Employment</option><option value="7">Event Planning</option><option value="20">Farming</option><option value="19">Healthcare</option><option value="18">Holidays & Travel</option><option value="10">Home & Garden</option><option value="21">Industry</option><option value="16">Leisure</option><option value="11">Pets</option><option value="2">Property</option><option value="14">Public Services</option><option value="8">Restaurants & Nightlife</option><option value="6">Shopping</option><option value="13">Sports & Outdoors</option><option value="5">Technology</option><option value="1">Vehicles</option></select>
</div>
</div>
- Sub catogery
<div col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding-bottom:15px">
<label for="sub_category" col-lg-4 col-md-4 col-sm-12 col-xs-12">Sub-Category</label>
<div col-md-8 col-sm-12 col-xs-12 ">
<select display="none" id="sub_category" name="sub_category"><option value="0">Select your Sub-Category</option></select
follows
Continue reading...