Does the browser in Pocket Internet Mobile support javascript? If it does, so you can using javascript as the same as on windows platform.
moocr com
Posts
-
How to handle events in Pocket Internet Mobile -
Calling jar file from javascript at client sideif dont consider the safe or you browser allow, you can do it use javascript. but you'd better dont do this operation. moocr.com
-
How to read the body of methods in JavaScriptfunction func(){
alert('1');
}
document.write(func);try it! moocr.com
-
string testing failswhy you do not use regular expression?
//sorry, but I can not input the rest chars.
var reg=/[qwertyuiopasdfghjklzxcvbnm1234567890]{10}/gi;if(!reg.test(document.getElementById("cardId").value)){
alert("Error");
}see more javascript skill, just click moocr.com
-
Error in developing my first AJAX example. . . .if(xmlhttp.readystate == 4 && xmlhttp.status==200) {
document.timerForm.time.value = xmlhttp.responseText;
}may be you lost the xmlhttp.status==200. moocr.com
-
Disable Tabbed browsing using javascriptYes, you are right! javascript can not close a window without any confirm or alert if it did not open the window use window.open(); moocr.com
-
get controls using nameI think you'd better change one list checkbox name. if not, you can do it like the above answer, but it's not very good, i improve it at below:
//get all the checkbox of table 1
var ele = document.getElementById("table1").getElementsByTagName("input");
var size = ele.length;
var boxs = [];
var j=0;
for(var i=0;i
do you like more js or web skills? just click my blog! moocr.com :)