Plese Help I can't select data in drop down list

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
narinp
Posts: 1
Joined: Sun Jul 14, 2019 5:14 am

Plese Help I can't select data in drop down list

Post by narinp » Sun Jul 14, 2019 6:22 am

iMacros VERSION 8970419
OS : Windows 10
Browser: Firefox V.58

What i got when i record

Code: Select all

VERSION BUILD=8970419 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=https://www.npfocusshield.com/manage/inventory/product/new/
TAG POS=1 TYPE=LABEL ATTR=TXT:ชื่อสินค้า<SP>(Title)<SP>ต้องระบุ<SP>ชื่อผลิตภัณฑ์<SP>ตัวอย่*
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=* CONTENT=ฟิล์มกันรอยแบบใส<SP>Focus<SP>สำหรับ<SP>-<SP>รุ่นสินค้าที่นี่
TAG POS=1 TYPE=SPAN ATTR=TXT:ราคาสินค้า
TAG POS=3 TYPE=INPUT:NUMBER FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=* CONTENT=135
TAG POS=1 TYPE=SPAN ATTR=TXT:ภาพสินค้า
TAG POS=1 TYPE=BUTTON FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=NAME:pro-img
TAG POS=1 TYPE=DIV ATTR=TXT:เลือกจากคลังรูปภาพ
TAG POS=1 TYPE=DIV ATTR=TXT:Focus<SP>Film<SP>UC
TAG POS=1 TYPE=IMG ATTR=SRC:https://fi.lnwfile.com/_resize_images/150/150/tv/lc/kq.jpg
TAG POS=3 TYPE=INPUT:BUTTON ATTR=*
TAG POS=1 TYPE=LABEL ATTR=TXT:รายละเอียดสินค้า<SP>(Description)<SP>ต้องระบุ<SP>รายละเอียดผ*
TAG POS=1 TYPE=LABEL ATTR=TXT:หมวดหมู่<SP>(Category)
TAG POS=1 TYPE=B ATTR=TXT:
TAG POS=1 TYPE=LI ATTR=TXT:Acer<SP>(เอเซอร์)
TAG POS=1 TYPE=B ATTR=TXT:
TAG POS=1 TYPE=LI ATTR=TXT:Acer<SP>(เอเซอร์)<SP>›<SP>Acer<SP>Aspire<SP>Switch<SP>10
TAG POS=1 TYPE=SELECT FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=TXT:=<SP>กรุณาเลือกหมวดหมู่<SP>=เสื้อผ้า<SP>เครื่องแต่งกาย<SP>แฟ* CONTENT=%8
TAG POS=1 TYPE=SELECT FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=TXT:=<SP>กรุณาเลือกหมวดหมู่ย่อย<SP>=คอมพิวเตอร์ตั้งโต๊ะ<SP>/* CONTENT=%48
TAG POS=1 TYPE=SELECT FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=TXT:=<SP>กรุณาเลือกหมวดหมู่ย่อย<SP>=iPhoneSamsungHTCNokiaBlackbe* CONTENT=%327
TAG POS=14 TYPE=INPUT:TEXT FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=* CONTENT=Hashtag<SP>ที่นี่
TAG POS=2 TYPE=INPUT:SUBMIT FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=*
Error Code: RuntimeError: element LI specified by TXT:Acer<SP>(เอเซอร์) was not found, line 18 (Error code: -921)

Image

Page Source Code:

<div class="gadget col2" gadget="category" layout="twocols">
<div class="g-title"><span class="icon"></span><span class="text">หมวดหมู่สินค้า &amp; Hashtag</span></div>
<div class="content pad0">
<div class="top">
<div class="chooseCat">
<div class="shopCat">
<div class="twospace">
<label class="required_field">หมวดหมู่ (Category)</label>
<a v-if="varname.category_id != 0" :href="manage_url('inventory/category/'+varname.category_id)" target="_blank">ไปหมวดหมู่ที่เลือก</a>
</div>
<span class="input-area">
<chosen v-model="varname.category_id" :options="cat_options" label="text" track-by="value"></chosen>
</span>
</div>
<div class="clear15"></div>
<div id="lnw_category_id" class="mallCat">
<label class="required_field" hint="product_type">ประเภทสินค้า (Product Type)</label>
<hierarchy-dropdown v-model="varname.lnw_category_id" :hdatas="vm_const.lnwcat_data"></hierarchy-dropdown>
</div>
</div>
</div>
<div class="tagContainer bottom">
<label hint="hashtag" for="">Hashtag (แฮชแท็ก)</label>
<div class="input-area"><input type="text" v-model="varname.tag" placeholder="ใส่คำ Keywords ไม่ต้องใส่ # และคั่นด้วย ," /></div>
<div class="tagPull">
<div v-for="tag in varname.oldtags" class="tag"><span class="left close" v-on:click="remove_oldtag(tag)"></span><span class="center text"><a class="noblankicon" :href="'https://www.npfocusshield.com/product/tag/'+tag" target="_blank" v-text="tag"></a></span><span class="right"></span></div>
</div>
</div>
</div>
</div>
<div v-show="advance_mode" class="gadget col4" gadget="stock" layout="twocols" >
<div class="g-title"><span class="icon"></span><span class="text">ข้อมูลคลังสินค้า</span></div>
<div class="content pad0">
<div class="top">
<div :class="(typeof vm_const.attr_keys['isbn'] != 'undefined')?'fourcols':'threecols'">
<div v-if="typeof varname.code != 'undefined'" class="additional a-code"><label hint="sku" for="code" :class="{mid_required_field:(global.required_fields.code)}">รหัสสินค้า (SKU)</label><span class="input-area"><input style="color: #4986e7;" type="text" v-model.trim="varname.code" :placeholder="'[Auto] '+pdata.auto_code" class="input_product_code" /></span></div>
<div class="additional a-unit"><label hint="unit_name" for="unit">หน่วยสินค้า (Unit name)</label><input-text varkey="unit" placeholder="เช่น ชิ้น ตัว อัน แพ็ค"></input-text></div>
<div v-if="typeof varname.barcode != 'undefined'" class="additional a-barcode"><label for="barcode" hint="gtin">บาร์โค้ด (Barcode)</label><span class="input-area"><input type="text" v-model="varname.barcode" /></span></div>
<attr-input-box :show="show_all_attr" akey="isbn"></attr-input-box>
</div>
</div>
<div class="top" style="padding-bottom: 0px;">
<label class="bigLabel">จำนวนสินค้าคงคลัง</label>
</div>
<div class="middle stockInfo nolink">
<span class="info instock">
<div class="text">คงเหลือ</div>
<div class="num" v-text="pdata.total_amount"></div>
</span>
<span class="info reserve">
<div class="text">จอง</div>
<div class="num" v-text="pdata.total_reserve"></div>
</span>
<span class="info paid">
<div class="text">รอส่ง</div>
<div class="num" v-text="pdata.total_paid"></div>
</span>
<span class="info sold">
<div class="text">ขายแล้ว</div>
<div class="num" v-text="pdata.total_sell"> </div>
</span>
<span class="info remain">
<div class="text">สั่งซื้อได้</div>
<div class="num" v-text="show_remain"></div>
</span>
<div class="clear"></div>
</div>
<div v-show="!pro_has_sub" class="stockSetting middle clearfix ">
<div class="black-light"></div>
<div class="tabs">
<div class="action addStock customStock" title="กำหนดจำนวนสินค้าในคลัง" action="init"><span class="icon"></span><span class="text">กำหนดจำนวนสินค้าเริ่มต้น</span></div>
<div class="clear"></div>
</div>
<div class="setting threecols" style="align-items: flex-start">
<div class="stock-picker">
<div class="pickup-box">
<span class="text">จำนวน<span style="color: #aaa; font-weight: normal;"> (ชิ้น)</span></span><br />
<div class="pickup-row">
<div class="pickup minus">
<img src="https://www.npfocusshield.com/system/ap ... /minus.png" alt="-" width="15" />
</div>
<div style="padding:0px;" class="pickup amount">
<input type="number" pattern="\d*" name="stock_amount" placeholder="0" class="fullinput">
</div>
<div class="pickup plus">
<img src="https://www.npfocusshield.com/system/ap ... s/plus.png" alt="+" width="15" />
</div>
<div class="clear"></div>
</div>
</div>
</div>
<div class="date">
<label><span class="text required_field">วันที่</span><br />
<input type="text" name="stock_date" value="2019-07-14" readonly="readonly" style="width:120px;"></label>
<div class="new"><label><input type="checkbox" name="update_new_time" value="1" checked="checked"> <span class="">อัพเดทเวลามาใหม่</span></label></div>
</div>
<div class="price">
<label><span class="text stock_price_text">ต้นทุน</span></label>
<div class="flexLR100">
<select class="stock_price_per" name="stock_price_per"><option value="total">รวม</option> <option value="unit">ต่อชิ้น</option></select>
<span class="input-area">
<input type="number" step="any" name="stock_price" value="" class="stock_price has-unit-right" ><span class="unit unit-right">บาท</span>
</span>
</div>
</div>
<div class="result flexLR100">
<div class="remark">
<label><span class="text">เพิ่มเติม</span></label><br>
<textarea name="stock_detail" rows="3"></textarea>
</div>
<div class="msg">
<label><span class="text">ผลลัพธ์</span></label><br>
<div class="action"><span style="color: #ccc;">ยังไม่ได้ระบุจำนวน</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="gadget col4" gadget="price" layout="twocols">
<div class="g-title"><span class="icon"></span><span class="text">ราคาสินค้า</span></div>
<div class="content pad0">
<div v-if="is_edit_price_mode" class=" price-editable-area price-box-area">
<div class="top">
<div class="twospace">
<div style="flex-basis: 340px; text-align: left;">
<div v-if="pro_has_sub">
<label hint="price">ราคาของแต่ละแบบสินค้า</label>
<span class="radioPrice radioSwitch radioSwitch50" style="flex-wrap: nowrap; max-width: 320px;">
<label :class="{radioChecked:(varname.edit_price_sw)}"><input type="radio" name="option_show_format" v-model="varname.edit_price_sw" :value="1">เท่ากันทุกแบบ</label>
<label :class="{radioChecked:(!varname.edit_price_sw)}"><input type="radio" name="option_show_format" v-model="varname.edit_price_sw" :value="0">แตกต่างกัน</label>
</span>
<div class="clear10"></div>
</div>
<div>
<div v-if="pro_has_sub && !varname.edit_price_sw" class="productLightColor" style="padding: 20px 0;line-height: 22px;">กรุณากำหนดราคาที่แต่ละแบบสินค้า</div>
<div v-else-if="!pdata.is_main && !pdata.can_edit_price" class="productLightColor" style="padding: 20px 0;line-height: 22px;">กรุณากำหนดราคาที่สินค้าหลัก</div>
</div>
<div class="real-price">
<label hint="price">ราคาขาย (Price)</label><span class="input-area"><input class="text-right has-unit-right" type="number" step="any" v-model="varname.price" /><span class="unit unit-right">บาท</span></span>
</div>
<div class="sale">
<div class="isSale" hint="sale">
<switch-btn v-model="varname.discount_active" style="margin-left: 0px; margin-right: 10px;" label="ลดราคาสินค้า (Sale)" label_class="switchLabelRight"></switch-btn>
<div class="clear10"></div>
</div>
<div class="discount_true threecols" v-show="varname.discount_active">
<select v-model="varname.discount_type">
<option value="equal">ลดเหลือ</option>
<option value="lower">ลดลงไป</option>
</select>
<input class="text-right inputshort" type="number" step="any" v-model="varname.discount_price" />
<select v-model="varname.discount_unit">
<option value="value">บาท</option>
<option value="percent">%</option>
</select>
</div>
</div>
</div>
<div class="total-price">
<div v-if="varname.discount_active">
<div class="retailtotal twospace"><span>ราคาขาย</span><span><span class="total" v-text="number_format(varname.price,2)"></span> บาท</span></div>
<div class="discounttotal twospace"><span>ส่วนลด</span><span><span class="total" v-text="number_format(summary_discount,2)"></span> บาท</span></div>
</div>
<div class="twospace finaltotal"><span>ราคาสุทธิ</span> <span><span class="total" v-text="number_format(summary_price,2)"></span> บาท</span></div>
<div class="pricealert" v-show="price_alert" v-text="price_alert"></div>
</div>
</div>
</div>
</div>
<div v-else class="price-uneditable-area price-box-area">
<div class="top">
<div class="twospace alignTop">
<div style="flex-basis: 340px; text-align: left;">
<div v-if="pro_has_sub">
<label hint="price">ราคาของแต่ละแบบสินค้า</label>
<span class="radioPrice radioSwitch radioSwitch50" style="flex-wrap: nowrap; max-width: 320px;">
<label :class="{radioChecked:(varname.edit_price_sw)}"><input type="radio" name="option_show_format" v-model="varname.edit_price_sw" :value="1">เท่ากันทุกแบบ</label>
<label :class="{radioChecked:(!varname.edit_price_sw)}"><input type="radio" name="option_show_format" v-model="varname.edit_price_sw" :value="0">แตกต่างกัน</label>
</span>
<div class="clear10"></div>
</div>
<div>
<div v-if="pro_has_sub && !varname.edit_price_sw" class="productLightColor" style="padding: 4px 0;line-height: 30px;">กรุณากำหนดราคาที่แต่ละแบบสินค้า</div>
<div v-else-if="!pdata.is_main && !pdata.can_edit_price" class="productLightColor" style="padding: 4px 0;line-height: 30px;">กรุณากำหนดราคาที่สินค้าหลัก</div>
</div>
</div>
<div class="total-price">
<div v-if="show_price_data.discount_price != '0.00' && show_price_data.discount_price != '-'">
<div class="retailtotal twospace"><span>ราคาขาย</span><span><span class="total" v-text="show_price_data.fake_price"></span> บาท</span></div>
<div class="discounttotal twospace"><span>ส่วนลด</span><span><span class="total" v-text="show_price_data.discount_price"></span> บาท</span></div>
</div>
<div class="twospace finaltotal"><span>ราคาสุทธิ</span> <span><span class="total" v-text="show_price_data.real_price"></span> บาท</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
chivracq
Posts: 8432
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Plese Help I can't select data in drop down list

Post by chivracq » Mon Jul 15, 2019 6:08 am

narinp wrote:
Sun Jul 14, 2019 6:22 am

Code: Select all

iMacros VERSION 8970419
OS : Windows 10
Browser: Firefox V.58
What i got when i record

Code: Select all

VERSION BUILD=8970419 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=https://www.npfocusshield.com/manage/inventory/product/new/
TAG POS=1 TYPE=LABEL ATTR=TXT:ชื่อสินค้า<SP>(Title)<SP>ต้องระบุ<SP>ชื่อผลิตภัณฑ์<SP>ตัวอย่*
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=* CONTENT=ฟิล์มกันรอยแบบใส<SP>Focus<SP>สำหรับ<SP>-<SP>รุ่นสินค้าที่นี่
TAG POS=1 TYPE=SPAN ATTR=TXT:ราคาสินค้า
TAG POS=3 TYPE=INPUT:NUMBER FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=* CONTENT=135
TAG POS=1 TYPE=SPAN ATTR=TXT:ภาพสินค้า
TAG POS=1 TYPE=BUTTON FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=NAME:pro-img
TAG POS=1 TYPE=DIV ATTR=TXT:เลือกจากคลังรูปภาพ
TAG POS=1 TYPE=DIV ATTR=TXT:Focus<SP>Film<SP>UC
TAG POS=1 TYPE=IMG ATTR=SRC:https://fi.lnwfile.com/_resize_images/150/150/tv/lc/kq.jpg
TAG POS=3 TYPE=INPUT:BUTTON ATTR=*
TAG POS=1 TYPE=LABEL ATTR=TXT:รายละเอียดสินค้า<SP>(Description)<SP>ต้องระบุ<SP>รายละเอียดผ*
TAG POS=1 TYPE=LABEL ATTR=TXT:หมวดหมู่<SP>(Category)
TAG POS=1 TYPE=B ATTR=TXT:
TAG POS=1 TYPE=LI ATTR=TXT:Acer<SP>(เอเซอร์)
TAG POS=1 TYPE=B ATTR=TXT:
TAG POS=1 TYPE=LI ATTR=TXT:Acer<SP>(เอเซอร์)<SP>›<SP>Acer<SP>Aspire<SP>Switch<SP>10
TAG POS=1 TYPE=SELECT FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=TXT:=<SP>กรุณาเลือกหมวดหมู่<SP>=เสื้อผ้า<SP>เครื่องแต่งกาย<SP>แฟ* CONTENT=%8
TAG POS=1 TYPE=SELECT FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=TXT:=<SP>กรุณาเลือกหมวดหมู่ย่อย<SP>=คอมพิวเตอร์ตั้งโต๊ะ<SP>/* CONTENT=%48
TAG POS=1 TYPE=SELECT FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=TXT:=<SP>กรุณาเลือกหมวดหมู่ย่อย<SP>=iPhoneSamsungHTCNokiaBlackbe* CONTENT=%327
TAG POS=14 TYPE=INPUT:TEXT FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=* CONTENT=Hashtag<SP>ที่นี่
TAG POS=2 TYPE=INPUT:SUBMIT FORM=ACTION:https://www.npfocusshield.com/manage/action/form_error/ ATTR=*
Error Code:

Code: Select all

RuntimeError: element LI specified by TXT:Acer<SP>(เอเซอร์) was not found, line 18 (Error code: -921)
Image

Page Source Code:

Code: Select all

								<div class="gadget col2" gadget="category" layout="twocols">
					<div class="g-title"><span class="icon"></span><span class="text">หมวดหมู่สินค้า &amp; Hashtag</span></div>
					<div class="content pad0">
						<div class="top">
							<div class="chooseCat">
																<div class="shopCat">
									<div class="twospace">
										<label class="required_field">หมวดหมู่ (Category)</label>
										<a v-if="varname.category_id != 0" :href="manage_url('inventory/category/'+varname.category_id)" target="_blank">ไปหมวดหมู่ที่เลือก</a>
									</div>
									<span class="input-area">
										<chosen v-model="varname.category_id" :options="cat_options" label="text" track-by="value"></chosen>
									</span>
								</div>
								<div class="clear15"></div>
								<div id="lnw_category_id" class="mallCat">
									<label class="required_field" hint="product_type">ประเภทสินค้า (Product Type)</label>
									<hierarchy-dropdown v-model="varname.lnw_category_id" :hdatas="vm_const.lnwcat_data"></hierarchy-dropdown>
								</div>
															</div>
						</div>
												<div class="tagContainer bottom">
							<label hint="hashtag" for="">Hashtag (แฮชแท็ก)</label>
							<div class="input-area"><input type="text" v-model="varname.tag" placeholder="ใส่คำ Keywords ไม่ต้องใส่ # และคั่นด้วย ," /></div>
							<div class="tagPull">
								<div v-for="tag in varname.oldtags" class="tag"><span class="left close" v-on:click="remove_oldtag(tag)"></span><span class="center text"><a class="noblankicon" :href="'https://www.npfocusshield.com/product/tag/'+tag" target="_blank" v-text="tag"></a></span><span class="right"></span></div>
							</div>
						</div>
											</div>
				</div>
								<div v-show="advance_mode" class="gadget col4" gadget="stock" layout="twocols" >
					<div class="g-title"><span class="icon"></span><span class="text">ข้อมูลคลังสินค้า</span></div>
					<div class="content pad0">
						<div class="top">
							<div :class="(typeof vm_const.attr_keys['isbn'] != 'undefined')?'fourcols':'threecols'">
								<div v-if="typeof varname.code != 'undefined'" class="additional a-code"><label hint="sku" for="code" :class="{mid_required_field:(global.required_fields.code)}">รหัสสินค้า (SKU)</label><span class="input-area"><input style="color: #4986e7;" type="text" v-model.trim="varname.code" :placeholder="'[Auto] '+pdata.auto_code" class="input_product_code" /></span></div>
								<div class="additional a-unit"><label hint="unit_name" for="unit">หน่วยสินค้า (Unit name)</label><input-text varkey="unit" placeholder="เช่น ชิ้น ตัว อัน แพ็ค"></input-text></div>
								<div v-if="typeof varname.barcode != 'undefined'" class="additional a-barcode"><label for="barcode" hint="gtin">บาร์โค้ด (Barcode)</label><span class="input-area"><input type="text" v-model="varname.barcode" /></span></div>
								<attr-input-box :show="show_all_attr" akey="isbn"></attr-input-box>
							</div>
						</div>
													<div class="top" style="padding-bottom: 0px;">
								<label class="bigLabel">จำนวนสินค้าคงคลัง</label>
							</div>
							<div class="middle stockInfo nolink">
															<span class="info instock">
									<div class="text">คงเหลือ</div>
									<div class="num" v-text="pdata.total_amount"></div>
								</span>
								<span class="info reserve">
									<div class="text">จอง</div>
									<div class="num" v-text="pdata.total_reserve"></div>
								</span>
								<span class="info paid">
									<div class="text">รอส่ง</div>
									<div class="num" v-text="pdata.total_paid"></div>
								</span>
								<span class="info sold">
									<div class="text">ขายแล้ว</div>
									<div class="num" v-text="pdata.total_sell">	</div>
								</span>
								<span class="info remain">
									<div class="text">สั่งซื้อได้</div>
									<div class="num" v-text="show_remain"></div>
								</span>
								<div class="clear"></div>
							</div>
																			<div v-show="!pro_has_sub" class="stockSetting middle clearfix ">
								<div class="black-light"></div>
								<div class="tabs">
																	<div class="action addStock customStock" title="กำหนดจำนวนสินค้าในคลัง" action="init"><span class="icon"></span><span class="text">กำหนดจำนวนสินค้าเริ่มต้น</span></div>
																	<div class="clear"></div>
								</div>
								<div class="setting threecols" style="align-items: flex-start">
									<div class="stock-picker">
										<div class="pickup-box">
											<span class="text">จำนวน<span style="color: #aaa; font-weight: normal;"> (ชิ้น)</span></span><br />
											<div class="pickup-row">
												<div class="pickup minus">
													<img src="https://www.npfocusshield.com/system/application/modules/lnwshop/manage/_images/icons/minus.png" alt="-" width="15" />
												</div>
												<div style="padding:0px;" class="pickup amount">
													<input type="number" pattern="\d*" name="stock_amount" placeholder="0" class="fullinput">
												</div>
												<div class="pickup plus">
													<img src="https://www.npfocusshield.com/system/application/modules/lnwshop/manage/_images/icons/plus.png" alt="+" width="15" />
												</div>
												<div class="clear"></div>
											</div>
										</div>
									</div>
									<div class="date">
										<label><span class="text required_field">วันที่</span><br />
										<input type="text" name="stock_date" value="2019-07-14" readonly="readonly" style="width:120px;"></label>
										<div class="new"><label><input type="checkbox" name="update_new_time" value="1" checked="checked"> <span class="">อัพเดทเวลามาใหม่</span></label></div>
									</div>
									<div class="price">
										<label><span class="text stock_price_text">ต้นทุน</span></label>
										<div class="flexLR100">
											<select class="stock_price_per" name="stock_price_per"><option value="total">รวม</option> <option value="unit">ต่อชิ้น</option></select>
											<span class="input-area">
												<input type="number" step="any" name="stock_price" value="" class="stock_price has-unit-right" ><span class="unit unit-right">บาท</span>
											</span>
										</div>
									</div>
									<div class="result flexLR100">
										<div class="remark">
											<label><span class="text">เพิ่มเติม</span></label><br>
											<textarea name="stock_detail" rows="3"></textarea>
										</div>
										<div class="msg">
											<label><span class="text">ผลลัพธ์</span></label><br>
											<div class="action"><span style="color: #ccc;">ยังไม่ได้ระบุจำนวน</span></div>
										</div>
									</div>
								</div>
							</div>
											</div>
				</div>
				<div class="gadget col4" gadget="price" layout="twocols">
					<div class="g-title"><span class="icon"></span><span class="text">ราคาสินค้า</span></div>
					<div class="content pad0">
						<div v-if="is_edit_price_mode" class=" price-editable-area price-box-area">
							<div class="top">
								<div class="twospace">
									<div style="flex-basis: 340px; text-align: left;">
										<div v-if="pro_has_sub">
											<label hint="price">ราคาของแต่ละแบบสินค้า</label>
											<span class="radioPrice radioSwitch radioSwitch50" style="flex-wrap: nowrap; max-width: 320px;">
												<label :class="{radioChecked:(varname.edit_price_sw)}"><input type="radio" name="option_show_format" v-model="varname.edit_price_sw" :value="1">เท่ากันทุกแบบ</label>
												<label :class="{radioChecked:(!varname.edit_price_sw)}"><input type="radio" name="option_show_format" v-model="varname.edit_price_sw" :value="0">แตกต่างกัน</label>
											</span>
											<div class="clear10"></div>
										</div>
										<div>
											<div v-if="pro_has_sub && !varname.edit_price_sw" class="productLightColor" style="padding: 20px 0;line-height: 22px;">กรุณากำหนดราคาที่แต่ละแบบสินค้า</div>
											<div v-else-if="!pdata.is_main && !pdata.can_edit_price" class="productLightColor" style="padding: 20px 0;line-height: 22px;">กรุณากำหนดราคาที่สินค้าหลัก</div>
										</div>
																				<div class="real-price">
											<label hint="price">ราคาขาย (Price)</label><span class="input-area"><input class="text-right has-unit-right" type="number" step="any" v-model="varname.price" /><span class="unit unit-right">บาท</span></span>
										</div>
										<div class="sale">
											<div class="isSale" hint="sale">
												<switch-btn v-model="varname.discount_active" style="margin-left: 0px; margin-right: 10px;" label="ลดราคาสินค้า (Sale)" label_class="switchLabelRight"></switch-btn>
												<div class="clear10"></div>
											</div>
											<div class="discount_true threecols" v-show="varname.discount_active">
												<select v-model="varname.discount_type">
													<option value="equal">ลดเหลือ</option>
													<option value="lower">ลดลงไป</option>
												</select>
												<input class="text-right inputshort" type="number" step="any" v-model="varname.discount_price" />
												<select v-model="varname.discount_unit">
													<option value="value">บาท</option>
													<option value="percent">%</option>
												</select>
											</div>
										</div>
									</div>
									<div class="total-price">
										<div v-if="varname.discount_active">
											<div class="retailtotal twospace"><span>ราคาขาย</span><span><span class="total" v-text="number_format(varname.price,2)"></span> บาท</span></div>
											<div class="discounttotal twospace"><span>ส่วนลด</span><span><span class="total" v-text="number_format(summary_discount,2)"></span> บาท</span></div>
										</div>
										<div class="twospace finaltotal"><span>ราคาสุทธิ</span> <span><span class="total" v-text="number_format(summary_price,2)"></span> บาท</span></div>
										<div class="pricealert" v-show="price_alert" v-text="price_alert"></div>
									</div>
								</div>
							</div>
																				</div>
						<div v-else class="price-uneditable-area price-box-area">
							<div class="top">
								<div class="twospace alignTop">
									<div style="flex-basis: 340px; text-align: left;">
										<div v-if="pro_has_sub">
											<label hint="price">ราคาของแต่ละแบบสินค้า</label>
											<span class="radioPrice radioSwitch radioSwitch50" style="flex-wrap: nowrap; max-width: 320px;">
												<label :class="{radioChecked:(varname.edit_price_sw)}"><input type="radio" name="option_show_format" v-model="varname.edit_price_sw" :value="1">เท่ากันทุกแบบ</label>
												<label :class="{radioChecked:(!varname.edit_price_sw)}"><input type="radio" name="option_show_format" v-model="varname.edit_price_sw" :value="0">แตกต่างกัน</label>
											</span>
											<div class="clear10"></div>
										</div>
										<div>
											<div v-if="pro_has_sub && !varname.edit_price_sw" class="productLightColor" style="padding: 4px 0;line-height: 30px;">กรุณากำหนดราคาที่แต่ละแบบสินค้า</div>
											<div v-else-if="!pdata.is_main && !pdata.can_edit_price" class="productLightColor" style="padding: 4px 0;line-height: 30px;">กรุณากำหนดราคาที่สินค้าหลัก</div>
										</div>
									</div>
									<div class="total-price">
										<div v-if="show_price_data.discount_price != '0.00' && show_price_data.discount_price != '-'">
											<div class="retailtotal twospace"><span>ราคาขาย</span><span><span class="total" v-text="show_price_data.fake_price"></span> บาท</span></div>
											<div class="discounttotal twospace"><span>ส่วนลด</span><span><span class="total" v-text="show_price_data.discount_price"></span> บาท</span></div>
										</div>
										<div class="twospace finaltotal"><span>ราคาสุทธิ</span> <span><span class="total" v-text="show_price_data.real_price"></span> บาท</span></div>
									</div>
								</div>
							</div>
													</div>
					</div>
				</div>
Oh..., I was waiting for about 14 Min before posting to "respect" my 24h Waiting Time when there is a "Please Help" in a Thread Title, arrgghhh...!, but hum you also have some Screenshot uploaded to some external Pix Hosting Site (they all go dark or commercial one day), that you'll first need to upload directly to the Forum also for me to reply to your Thread, sorry...:

Code: Select all

[img]https://www.img.in.th/image/ECGWq9[/img]
(Link to your Screenshot, not even visible on the Forum, or at least to me, I don't see it myself as I've already blocked 90% of those Pix Sites... 'imgur' is the only one I haven't and can't really block because of heavily used on SOF... :roll: )

Would be "handy" also (for Readability) if you could reformat your OP to put the Source Code of your Page into ]CODE[ Tags like I did in my Quote, and like you perfectly did in your own OP for your Script... 8)
(Friendly Asking, I won't "trash" you for that part if you don't react... :wink: But, hum, you can definitely remove the "Please Help" part from your Thread Title, this one has definitely no use in a Thread Title... (I'll check again in 24h otherwise..., and yep, sorry, I'm completely "allergic" to "Please Help"..., you would already have gotten your Answer/Solution 24h ago without that one, ah-ah...! (I saw then your Post/Topic IRT when you posted it as I had to approve it...)) :idea: )
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
Posts: 8432
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Plese Help I can't select data in drop down list

Post by chivracq » Wed Jul 17, 2019 1:25 am

Hum, no Follow-up... :roll:

Quick Answer from a quick look would have been to use the 'EVENT' Mode... :idea:
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
Post Reply