传递参数:<script type="text/javascript"> var id= 'abc'; //字符串英文 var num = 998; //数字 var keyword= '编码'; //中文 var keyword1 = encodeURI(encodeURI(keyword)); //中文需要进行两次encodeURI转码 window.location.href = "./test.h…
1.jQuery原型对象解密 jQuery里面的大部分API都是在jQuery的原型对象上定义的.jQuery源码中对原型对象做了简写的处理.也就是说:jQuery.fn === jQuery.prototype,参考jQuery源码: ... jQuery.fn = jQuery.prototype = { // The current version of jQuery being used jquery: version, constructor: jQuery, // The defau…
Here is My code snippet: Uri mUri = Uri.parse("smsto:+9876543210"); Intent mIntent = new Intent(Intent.ACTION_SENDTO, mUri); mIntent.setPackage("com.whatsapp"); mIntent.putExtra("sms_body", "The text goes here"); mI…
Do you wanna have some toasts ? jquery-toastmessage-plugin is a JQuery plugin which provides android-like notification messages. The toasted messages arriving on the screen in a seamless and natural way. They may or may not disrupt the user and they…