i'm using jQuery to populate an cascading dropdownlist. But i want to set a selected item after jQuery filled the DDL with items.
How do i do that?
View Complete Post
Iam using jquery autocomplete to search data and i have button to get the detail value of employee and
display in label , what i need is that , i don't want to put button to get detail , instead i need to select the from\
auto search and press enter key and show the detail in the lablel example(empname,address, emailid).
Looking forward valuable suggestions
I have a detailsview with a dropdownlist in it. the detailsview is connected to a database table(employees having the following fields: id-smallint,name-nvarchar, departmnet-smallint). the ddl is connected to another table (departments with the following
fields: id-smallint, departmentName-nvarchar). the ddl is in the edititemTempalte of the department field. My goal is to display in the itemtemplate the departmentName (the selected value from the edititemtemplate ). How can I do this? Doyou
have any ideas?
thanks a lot
I have asp.net checkboxlist control that bounded to a data source so the number of items in the control are different from one to to another time.I have this function: $('#<%=chkListGroups.ClientID %> input:checkbox:checked').siblings('label').text(); this function will return all texts for all selected items in the control as a one string. I'm looking for a way that when I check a check box from the ckeckboxlist control will return only last checked checkbox.
this code :
$('#<%=chkListGroups.ClientID %> input:checkbox:checked').last().siblings('label').text(); returns last checked item for example if I checked second will return second item then when I checked fifth item will return fifth item but if now when I check third item will return fifth item so it is always returning last item checked in the list and I'm looking to
$('#<%=chkListGroups.ClientID %> input:checkbox:checked').last().siblings('label').text();
Please advice me how to do this using jquery.