html - Form does not submit if action present -
a few days ago set small development server. running on windows vista business , latest wamp.
today wrote simple script test something, , when hit submit button, nothing happens. doesn't submit same page, doesn't give me 404 not found (which should). nothing. page doesn't flicker:
<form method='post' action='controller.php'> <input type='hidden' name='test' value='test' /> <input type='submit' /> </form>
nothing! however, if remove action, follows, page submits , probe of global $_post variable shows hidden value passed.
<form method='post'>
even following works:
<form method='post' action=''>
is there i've missed in apache setup??
solved!
through trial , error got point happened in chrome. turned out malformed 'base' tag in . didn't affect other browser!
thanks everyone's input.
Comments
Post a Comment