Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onLoad() {
- openDialogBox1();
- document.addEventListener("deviceready", onDeviceReady, false);
- $("#searchby_chooser_ok_button").bind ("click", searchByCriteria);
- if (typeof Contact === "undefined") {
- getElement("contacts_list").innerHTML = "<p>The Cordova Contacts API is inaccessible</p>";
- }
- }
- function openDialogBox1(){
- $("#simplestring").simpledialog({
- 'mode' : 'string',
- 'prompt' : 'Please Enter Your Mobile No.',
- 'buttons' : {
- 'OK': {
- click: function () {
- $('#dialogoutput').text($('#dialoglink').attr('data-string'));
- }
- },
- 'Cancel': {
- click: function () { },
- icon: "delete",
- theme: "c"
- }
- }
- })
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement