[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 893 KB, 218x230, campinggirl.gif [View same] [iqdb] [saucenao] [google]
2760431 No.2760431 [Reply] [Original]

Hey /sci/ I have a simple scripting question, does anyone know how to move a textbox to a particular location with javascript? google has failed me.

>> No.2760522
File: 38 KB, 500x376, bump.jpg [View same] [iqdb] [saucenao] [google]
2760522

>> No.2760535

This might get you in the right direction:

http://stackoverflow.com/questions/4108696/input-field-within-absolutely-positioned-div-breaks-layou
t-in-ie7

It involves named divs with absolute position attributes. You can then get the div you want with a javascript command called documentID or something like that....and change the attributes of the div absolute position.