Jquery Select ASP.net Control

ตัวอย่างคำสั่งเพื่อ Select Object ของ ASP.NET Control ที่ไม่ได้ Fix id ของ Visual Studio Framework เก่าๆ


ให้ใช้ JQuery แบบนี้

$("[id$='_txtLoginID']")

ซึ่งก็เป็นแค่วิธีหนึ่งเท่านั้น ในหลายวิธีที่มี

Comments

Popular posts from this blog

Function MS SQL แปลงตัวเลขเป็นบาท

Line Notify ด้วย VB.Net

ตรวจสอบค่าว่าเป็นตัวเลข MSSQL