Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. function onLoad() {
  2.  
  3. openDialogBox1();
  4.  
  5. document.addEventListener("deviceready", onDeviceReady, false);
  6. $("#searchby_chooser_ok_button").bind ("click", searchByCriteria);
  7.  
  8. if (typeof Contact === "undefined") {
  9. getElement("contacts_list").innerHTML = "<p>The Cordova Contacts API is inaccessible</p>";
  10. }
  11. }
  12.  
  13. function openDialogBox1(){
  14. $("#simplestring").simpledialog({
  15. 'mode' : 'string',
  16. 'prompt' : 'Please Enter Your Mobile No.',
  17. 'buttons' : {
  18. 'OK': {
  19. click: function () {
  20. $('#dialogoutput').text($('#dialoglink').attr('data-string'));
  21. }
  22. },
  23. 'Cancel': {
  24. click: function () { },
  25. icon: "delete",
  26. theme: "c"
  27. }
  28. }
  29. })
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement