jQWidgets Forums
Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
Author
-
January 23, 2014 at 3:40 am in reply to: cannot even get demo buttons to work on iOS devices cannot even get demo buttons to work on iOS devices #48246
That one worked for me. I will have to compare to determine where the difference is.
Steven
January 21, 2014 at 3:03 pm in reply to: cannot even get demo buttons to work on iOS devices cannot even get demo buttons to work on iOS devices #48175Here is my code that I am working with based on the examples in the mobile demos section. The login button should be destroyed after they click on it. It stays there. What am I doing wrong?
<!DOCTYPE html> <html lang="en"> <head> <meta content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/> <meta name="msapplication-tap-highlight" content="no" /> <title id='Description'>JavaScript Input - Mobile Example</title> <link rel="stylesheet" href="demo.css" type="text/css" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.windowsphone.css" type="text/css" /> <link rel="stylesheet" href="../qwidgets/styles/jqx.blackberry.css" type="text/css" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.android.css" type="text/css" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.mobile.css" type="text/css" /> <script type="text/javascript" src="../jqscripts/jquery-1.10.2.min.js"></script> <script type="text/javascript" src="simulator.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxinput.js"></script> <script type="text/javascript" src="../jqwidgets/jqxbuttons.js"></script> <script type="text/javascript"> $(document).ready(function () { var theme = prepareSimulator("input"); var countries = new Array("Afghanistan", "Albania", "Algeria", "Andorra", "Angola", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Brazil", "Brunei", "Bulgaria", "Burkina Faso", "Burma", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Central African Republic", "Chad", "Chile", "China", "Colombia", "Comoros", "Congo, Democratic Republic", "Congo, Republic of the", "Costa Rica", "Cote d'Ivoire", "Croatia", "Cuba", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "East Timor", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Fiji", "Finland", "France", "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Greece", "Greenland", "Grenada", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Korea, North", "Korea, South", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macedonia", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Mauritania", "Mauritius", "Mexico", "Micronesia", "Moldova", "Mongolia", "Morocco", "Monaco", "Mozambique", "Namibia", "Nauru", "Nepal", "Netherlands", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Norway", "Oman", "Pakistan", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Poland", "Portugal", "Qatar", "Romania", "Russia", "Rwanda", "Samoa", "San Marino", " Sao Tome", "Saudi Arabia", "Senegal", "Serbia and Montenegro", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "Spain", "Sri Lanka", "Sudan", "Suriname", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Togo", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "Uruguay", "Uzbekistan", "Vanuatu", "Venezuela", "Vietnam", "Yemen", "Zambia", "Zimbabwe"); $("#input").jqxInput({ theme: theme, placeHolder: "Enter a Country", height: 35, width: '80%', minLength: 1, source: countries }); $('#input').jqxInput('val', 'Hip Hop'); $("#loginButton").jqxButton({ enableHover: false, theme: theme, width: '80%' }); initSimulator("input"); //$('#loginButton').jqxButton('destroy'); $('#loginButton').on('click', function () { $('#loginButton').jqxButton('destroy'); }); }); </script> </head> <body class='default'> <div id="demoContainer" class="device-mobile"> <div id="container" class="device-mobile-container"> <div style='margin-left: 10%; margin-top: 100px;'> Type your country into the field: </div> <input style='margin-left: 10%; margin-top: 10px;' type="text" id="input"/> <div> <button style="margin-top: 30px; margin-left: 10%;" id="loginButton">Login</button> </div> </div> </div> </body> </html>
April 29, 2013 at 1:50 pm in reply to: setcellvalue causes script to stop setcellvalue causes script to stop #20236Thanks – that was it. I was confused.
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)