krash11554 Posted August 16, 2012 Share Posted August 16, 2012 idk if im doing this wrong but im using this function function changeCss(){ $('#fileupload').css('visibility','hidden'); $('input#browse').replaceWith('<input type="submit" value="Submit" >'); } when the event onchange happens from a input. The .css visibilty is working but the replacewith isnt. Link to comment https://forums.phpfreaks.com/topic/267158-jquery-replacewith-isnt-working/ Share on other sites More sharing options...
krash11554 Posted August 16, 2012 Author Share Posted August 16, 2012 Never mind after i looked over it again i put a wrong } somewhere. srry Link to comment https://forums.phpfreaks.com/topic/267158-jquery-replacewith-isnt-working/#findComment-1369802 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.