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. Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/267158-jquery-replacewith-isnt-working/#findComment-1369802 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.