son.of.the.morning Posted December 16, 2011 Share Posted December 16, 2011 I have a bit of Jquery that searches in a div for another div with the id "show" then it will remove that class from that div and give the next div in the z-index the same value. My problem is i have a while loop which is repeating the div with the id "show". What i need is for the while loop to display one return with a div with the id of "show" then the rest of the results to be in a div with no id. I have been messing around with this for ages now and am not getting anywere. Quote Link to comment https://forums.phpfreaks.com/topic/253307-having-one-item-in-a-while-loop-diffrent-from-the-rest/ Share on other sites More sharing options...
Drongo_III Posted December 16, 2011 Share Posted December 16, 2011 It might be clearer if you post your code mate I have a bit of Jquery that searches in a div for another div with the id "show" then it will remove that class from that div and give the next div in the z-index the same value. My problem is i have a while loop which is repeating the div with the id "show". What i need is for the while loop to display one return with a div with the id of "show" then the rest of the results to be in a div with no id. I have been messing around with this for ages now and am not getting anywere. Quote Link to comment https://forums.phpfreaks.com/topic/253307-having-one-item-in-a-while-loop-diffrent-from-the-rest/#findComment-1298540 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.