Hi I have a confirm popup that appears as expected, is there a
simple / quick & dirty way to change the label at the top? At the
moment it just gives the full URL in the address bar as the title.
$(document).ready(function (event) {
$(document).submit(function (event) {
if (!confirm("Are you sure you wish to
submit?")) {
Well this is my first post, I have been using jQuery here and there
for a few small enhancements, I have to say I really like it so far,
but it seems I have run into a little snag. If you look at the code
below it should make some sense, hopefully.
Now as you can see the issue I have at the moment comes when I
create a "New Line", it clones the line correctly and
displays it with a "Remove" button, which works perfectly
when clicked. What I want is when someone clicks the "New
Line" button, not only to have the encapsulating DIV uniquely
named, but also all the elements in it.
e.g: rep_gender
=> line#_gender
or rep_firstname
=> line#_firstname
Is there a way to
loop through all the elements in the parent element?