how to write this Javascript code in jQuery?

how to write this Javascript code in jQuery?


I have this particular line of code in javascript:
ResizeableTextbox('myRT');

In my jquery code, I create a text box as soon as I click on an option in the drop down box. Instead of the text box,in want this resizeable textbox.

$(".select"+increment).change(function () {
var str = "";var stringinc=0,numberinc=0,dateinc=0;
$(".select"+increment+" option:selected").each(function () {

if($(this).text() =='String')
{
stringinc++;
$("<label id=labelstr"+stringinc+" >"+a+"</label>").appendTo(".menu li");
$("<input id=inputstr"+stringinc+" type= 'text' ></input>").appendTo(".menu li");

}
}

Instead of $("<input id=inputstr"+stringinc+" type= 'text' ></input>").appendTo(".menu li"); I need ResizeableTextbox('myRT'); If i replace the line,the page goes blank..

But that code is in javascript. It is actually a function written in a separate js file. I do not know how to append it to .menu li
I'm very new to jQuery and javascript so I do not understand these concepts. Plz help me