Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

onclick is not calling

  • 1 απάντηση
  • 2 έχουν αυτό το πρόβλημα
  • 6 προβολές
  • Τελευταία απάντηση από the-edmeister

more options

I have the following scenario in my project:

In the form the following field is there: Name : <input type="text" onchange="callSyncAjax(this)" /><input type="button" onclick="doSave()" value="Save"/>

In the java script :

      function callSyncAjax(obj) {

//some syncronized ajax function here return true; }

function doSave() { //form submit functionaly here }

Now i enter some name in name field and with out clicking any where or without tabbing i clicked on save button but in Fire Fox the doSave() function is not called. But i clicked again then its called.

can any one help on this? why for first time the doSave() method not called?

I have the following scenario in my project: In the form the following field is there: Name : <input type="text" onchange="callSyncAjax(this)" /><input type="button" onclick="doSave()" value="Save"/> In the java script : function callSyncAjax(obj) { //some syncronized ajax function here return true; } function doSave() { //form submit functionaly here } Now i enter some name in name field and with out clicking any where or without tabbing i clicked on save button but in Fire Fox the doSave() function is not called. But i clicked again then its called. can any one help on this? why for first time the doSave() method not called?

Όλες οι απαντήσεις (1)

more options

This forum is intended for user support, not for web development issues. Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The contributors over there are more knowledgeable about web page development issues with Firefox. http://forums.mozillazine.org/viewforum.php?f=25 You'll need to register and login to be able to post in that forum.