Saturday 15 May 2010

javascript - onclick ="return confirm(' ' )"not working in google chrome -



javascript - onclick ="return confirm(' ' )"not working in google chrome -

below coding in html page:

class="snippet-code-html lang-html prettyprint-override"> <input onclick="return confirm('delete record?')" type="submit" value="delete" name="delete">

delete function working without pop out "delete record? " in google chrome ver38.

delete function working , pop out "delete record?" in net explorer.

any solution problem?

try without 'return', this:

<input onclick="confirm('delete record?')" type="submit" value="delete" name="delete">

the homecoming keyword doesn't behave uniformly across browsers.

javascript html

No comments:

Post a Comment