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
sanjaykumar pushadapu
NA
98
11.3k
dom parent and child relation
Aug 20 2016 5:54 AM
<div class="col-md-12">
<span class="unit-cost">Rs.<asp:Label ID="lblunitcost" CssClass="unitcost" runat="server"></asp:Label></span>
<span class="offer-price"><asp:Label ID="lblDelarcost" CssClass="delarcost" runat="server"></asp:Label></span>
</div>
<div class="col-md-12" align="right">
<asp:DropDownList ID="ddlmodel" runat="server" CssClass="qty-box" OnSelectedIndexChanged="ddlmodel_SelectedIndexChanged" AutoPostBack="false" onchange="onModelChange(this)">
</asp:DropDownList>
</span>
<script>
var showingcost=$(element).parent('span').parent('div').prev('div').childNodes[0];
showingcost.text(unit);
var showdelarcost=$(element).parent('span').parent('div').prev('div').secondChild('span');
showdelarcost.text(dealer);
</script>
its not working?
Reply
Answers (
2
)
How to draw a connecting line between two div ?
need a help in some css codes