No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[code]$(document).ready(function() { var childrenEle; function toggleReq() { $('fieldset.fieldsetClass').each(function() { id = $(this).attr('id'); $("#" + id).children().not("div,legend").each(function () { var divEle = $("div").attr('id'); if($(this).attr('class') == 'required') { $(this).css("display","block"); } else { $(this).css("display","none"); } }); }); } function toggleAll() { $('fieldset.fieldsetClass').each(function() { id = $(this).attr('id'); $("#" + id).children().each(function () { $(this).css("display","block"); }); }); … |
|
Hi folks, My example markup as follows [code=html]<fieldset> <input type="text"></input> <input type="text"></input> <select></select> </fieldset> <fieldset> <input type="checkbox"></input> <input type="text"></input> <select></select> </fieldset>[/code] I want to collect all the child elements inside this two fieldset elements through looping, folks please help me out |
|
I am importing three diff jsp files through foreach looping inside the parent jsp file. Three files are x.jsp, y.jsp, z.jsp for example. I want to extract the last file z.jsp from this loop and I need to put in to one seperate DIV element. How can I do this … |
|
I was working as UI designer till the mid of 2008 with HTML and CSS, now in to JSP , beginning with JSP :) :) |