hi there
executing this code :
this is a part of the code that i get on my asp page
<input id="Text1" type="text" value="my_new_folder">
<input type="file" name="ctl00$Main$FileUpload1" id="ctl00_Main_FileUpload1" style="display: none; " width="110" height="30"/>
<embed src="/Web/scripts/uploader.swf?fileUploadID=ctl00_Main_FileUpload1&pagepath=/Web/Process/&buttonText=Buscar archivos&script=/Web/UploadVB.ashx&folder=firstfolder&btnWidth=110&btnHeight=30&wmode=opaque&fileDesc=Image Files&fileExt=*.jpg;*.jpeg;*.gif;*.png;*.tif;*.tiff&multi=true&fileDataName=Filedata" quality="high" width="110" height="30" id="ctl00_Main_FileUpload1Uploader" class="fileUploaderBtn" name="ctl00_Main_FileUpload1Uploader" allowscriptaccess="sameDomain" wmode="opaque" type="application/x-shockwave-flash"/>
how could i get the embed objet ( like i do with document.getelementbyId()), to change the fileuploadstring
that i want to do is:
i need to get the fileuploadid string and change a part of the string
something like this (is only an example that i want to show, obviously the instruction doesnt exist)
onchange (textbox.value) do{
get object( "embed")
totalstring= getstring(" fileuploadid")
totalstring.replace("firstfolder", textbox1.value)
}
i hope you can help me, many thanks in advanced
kind regards