gerkintrigg Posted August 15, 2008 Share Posted August 15, 2008 hello. I've been able to make a custom alert box using javascript, CSS, div tags etc. This all works as I want it to on: http://cornwalldevon.co.uk/test.php However, as soon as I try to put it into my PHP page, it stops working for some reason... (http://cornwalldevon.co.uk/edit_room_prices/49/accommodation) Can anyone tell me what I'm doing wrong? Thanks, Quote Link to comment https://forums.phpfreaks.com/topic/119894-solved-div-issues-within-php/ Share on other sites More sharing options...
ohdang888 Posted August 15, 2008 Share Posted August 15, 2008 its a html error. PHP has nothing to do with it. look at what other stuff is being done on that page as far as html goes. we can't help you without the code Quote Link to comment https://forums.phpfreaks.com/topic/119894-solved-div-issues-within-php/#findComment-617650 Share on other sites More sharing options...
gerkintrigg Posted August 16, 2008 Author Share Posted August 16, 2008 if it's an html issue, then the code is on the page - click view source. Quote Link to comment https://forums.phpfreaks.com/topic/119894-solved-div-issues-within-php/#findComment-617983 Share on other sites More sharing options...
gerkintrigg Posted August 16, 2008 Author Share Posted August 16, 2008 the problem was sorted by changing the value of the href in the script and using getElementById to change the value of the href value. Cheers anyway. Quote Link to comment https://forums.phpfreaks.com/topic/119894-solved-div-issues-within-php/#findComment-617988 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.