Javascript tips 1
@March 20, 2008, 5:07 p.m.
Windows active element:
document.activeElement
Bind event:
document.captureEvents(Event.KEYDOWN);
Visit window elements:
document.all("txt").focus();
document.all("txt").select();
Window command:
document.execCommand
Context menu event:
document.oncontextmenu
Create element:
document.createElement("SPAN");
Get element by mouse:
document.elementFromPoint(event.x,event.y).tagName=="TD
document.elementFromPoint(event.x,event.y).appendChild(ms)
Window images:
document.images[index]
Bind window event:
document.onmousedown=scrollwindow;
Object bind event:
document.all.xxx.detachEvent('onclick',a);
Get plugins' count:
navigator.plugins
Get variables' type:
typeof($js_libpath) == "undefined"
Dropdown:
select.options[index]
select.options.length
document.activeElement
Bind event:
document.captureEvents(Event.KEYDOWN);
Visit window elements:
document.all("txt").focus();
document.all("txt").select();
Window command:
document.execCommand
Context menu event:
document.oncontextmenu
Create element:
document.createElement("SPAN");
Get element by mouse:
document.elementFromPoint(event.x,event.y).tagName=="TD
document.elementFromPoint(event.x,event.y).appendChild(ms)
Window images:
document.images[index]
Bind window event:
document.onmousedown=scrollwindow;
Object bind event:
document.all.xxx.detachEvent('onclick',a);
Get plugins' count:
navigator.plugins
Get variables' type:
typeof($js_libpath) == "undefined"
Dropdown:
select.options[index]
select.options.length
Permanent URL:
http://javascript.gakaa.com/tips-f.aspx
lipitor 80mg price <a href="https://lipiws.top/">atorvastatin 40mg ca</a> buy lipitor 40mg sale
Uvqayr
- 9 months
order generic lipitor 20mg <a href="https://lipiws.top/">buy atorvastatin 10mg</a> lipitor 40mg oral
Zwhhyo
- 9 months
Powered by Linode.