javascript
IE6 & IE7 How to obtain the selected option object form the select box
I have a code like this: var a = selectBox.options[selectBox.selectedIndex]; If I execute: alert(a); Using FF, Chrome, Opera, etc... I get:[详细]
2023-04-13 06:31 分类:问答Expandable banner CSS,Javascript,Flash
I have to create a banner that expands over content when moused over and then contracts on mouse out. I have managed to create the expand/contract animations and actions but I am having trouble positi[详细]
2023-04-13 06:26 分类:问答Serializing Entity Framework Objects into JSON
public class GenericHandler : IHttpHandler { public class ASSystem { public string SID { get; set; } public string Description { get; set; }[详细]
2023-04-13 06:25 分类:问答How can I get information about events that are bound to an element via live()?
I have one <a> tag and bind to it two events.How I can get information about other events attached to it?[详细]
2023-04-13 06:18 分类:问答Reject "control" keys on keyDown event
What is the cleanest way in开发者_开发问答 JavaScript or jQuery to filter out control keys.By control keys, I mean any key that IS NOT A-Z, 0-9, or special characters (i.e. !, @, #, etc.).I simply wan[详细]
2023-04-13 06:16 分类:问答Re-register javascript files after ajax callback complete
I have a button on my page that does an Ajax开发者_如何转开发 callback with an onclick javascript method.[详细]
2023-04-13 06:13 分类:问答Javascript Manual Selection doesn't replace
I have some text in a textbox. I automatically select some of it by calling textbox.setSelectionRange(a,开发者_如何学Go b). But then, when I start typing again, the letters are appended on the right o[详细]
2023-04-13 06:12 分类:问答Set alt tag to more than 1000 images
I have an html file with more than 1000 images/links. I need to find an efficient way to set the alt tag of each image to the Title of the 开发者_开发问答targeted link.[详细]
2023-04-13 06:12 分类:问答Checkbox status changing onkeypress
I am using the JavaScript to disable keyboard if checkbox is not checked and to enable only numbers if checkbox is checked.[详细]
2023-04-13 06:07 分类:问答Anyway to restrict updating a google map when panning
I have a google maps set up with pointers. I\'ve set it up so whenever the zoom changes or the viewport does it loads a new set of pointers accordingly:[详细]
2023-04-13 06:04 分类:问答