Skip to main content

Bug Tracker

Side navigation

#6332 closed bug (invalid)

Opened March 22, 2010 04:42AM UTC

Closed June 15, 2010 12:58AM UTC

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});');

}

});

Attachments (0)
Change History (1)

Changed June 15, 2010 12:58AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Not a jQuery core bug.