TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vishal singh
NA
55
16.8k
lable text not displaying as an expression
Sep 24 2016 6:26 AM
Hello Friend please solve this issue
I have an autocomplete of city and when i choose once city from that i want to change anchor tab title attribute without postback
for this i doing is on click i am assigning value in label that working perfect but when i fetch that value using expression i am getting empty string
Jquery.........................................................
var ul=document.getElementById("statedrop");ul.onclick=function(a){var b=getEventTarget(a);$("#state").val(""),""==b.innerText?($("#state").val("Delhi"),$("#state").attr("placeholder","Delhi"),$('#lbl').text(Delhi),$(this).hide(),execute()):($('#lbl').text(b.innerText),$("#state").val(b.innerText),$("#state").attr("placeholder",b.innerText),$(this).hide(),execute())}
Asp.Net...........................................................
<asp:Label ID="lbl" ClientIDMode="Static" runat="server"></asp:Label>
<a href="/packers-and-movers/" id="a" title="Packers and Movers in <%=lbl.Text%>">Packers and Movers
</a>
Reply
Answers (
1
)
sample create and search function in mvc webgrid
On button click add element to grid view using List