construction of valid URLs

construction of valid URLs

hi.

I'm new with this jquery thing, and i have a problem, hope someone can help me:

I have to send the variable ii on the url so i can show a form on the thickbox:

<a href="#?ii='.$resul[$i]['id_nota'].'&TB_inline&height=255&width=300&inlineId=hiddenContent" title="News" class="thickbox" >

but the variable doesn't get here, and don't show the form, how can i send it??

echo '<div id="hiddenContent" style="display: none">';
if(isset($_REQUEST['ii']))
{
    $idnot=$_REQUEST['ii'];

[...]