Bug Tracker

Opened 10 years ago

Closed 9 years ago

#6332 closed bug (invalid)

Error jQuery wth function eval()

Reported by: redstarsoft Owned by:
Priority: Milestone: 1.4.3
Component: unfiled Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description

<div class='windows'>

<div style="width:400px;" class="draggable ui-widget-content"> <p class="ui-widget-header">Primeira janela</p> <p class="ui-widget-content" id="r1">conteudo</p> </div> <div style="width:400px;" class="draggable ui-widget-content"> <p class="ui-widget-header">Segunda janela</p> <p class="ui-widget-content" id="r2">conteudo</p> </div> <div style="width:400px;" class="draggable ui-widget-content"> <p class="ui-widget-header">Terceira janela</p> <p class="ui-widget-content" id="r3">conteudo</p> </div>

</div>

3 div now my script.

$().ready(function(){

for(w=0;w<=$('.windows div').length;w++){

eval('$(".windows div:eq('+(w)+')").resizable({alsoResize:"#r'+(w+1)+'",minHeight:150,minWidth:200,maxHeight:500,maxWidth:920});');

}

});

Change History (1)

comment:1 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed

Not a jQuery core bug.

Note: See TracTickets for help on using tickets.