I am trying to assign an object to another other in jQuery but I am getting error. I am quite new to jQuery so all helps are much appreciated. Following is the code i am trying to do.
while ($(obj)) {
$(obj) = $(obj).children(":first");
}
It is trying to traverse through a table.
$(obj) = something;does not make much sense. Why not use a localobjvariable instead?