JavaScript: How to get users IP ADDRESS ?
Is it possible using only JavaScript to obtain the user's IP Address? If so, how? ...
Is it possible using only JavaScript to obtain the user's IP Address? If so, how? ...
Hello, I am running a HTTP server on my development machine. I have a website, on some web server on the Internet. How can I get Firefox to allow communication from this website to localhost temporarily while I develop? Thanks, Isaac Waller ...
I have seen other text editors use extensions to allow syntax checkers such as JSLint, is this possible with Notepad++? ...
Hi, Can someone please let me know that if I have a web page that consists of a checkbox (parent) and on this same web page, I also have a iframe that is sourced from another page that displays a number of records, which also has a checkbox (children) against each record, if I tick the parent checkbox and assume the iframe is hidden fro...
In my Rails app, I'm trying to hide a div (box) on page load in the Javascript function below. This function loops through a series of checkboxes with the same name (cb). If any of the checkboxes are checked, it should show the div. function BoxCheck(cb,box){ var cbs=document.getElementsByName(cb); var d=document.getElementById(box); ...
I want to use javascript in my facebook application, but I don't know how to start with FBJS to use it. Someone help me please! just something like <div onclick="greeting();">click me</div> <script> function greeting(){ alert("hello world"); } </script> ...
Hi, I'm designing a web site and I would like to be able to call a function 1 second after the last user input. I tried using onKeyUp, but it waited 1 second after the first keystroke. Does anyone know how would this be possible? ...
Is there any way of reliably detecting if a browser is running in full screen mode? I'm pretty sure there isn't any browser API I can query, but has anyone worked it out by inspecting and comparing certain height/width measurements exposed by the DOM? Even if it only works for certain browsers I'm interested in hearing about it. ...
I want brief intro to lexical scope ...
I'm new to .Net and JQuery and are trying to access a textbox through jquery but can't get it to work, can someone help? ...
//This is the function that will run every time a new item is added or the //list is sorted. var showNewOrder = function() { //This function means we get serialize() to tell us the text of each //element, instead of its ID, which is the default return. var serializeFunction = function(el) { return el.get('text'); }; //W...
While running eval() in IE7 if my JSON contains language specific characters like è, its not evalled properly. Is there a way I can change the language settings to make this work? ...
Hi. I have some code: <div class="winter spring" onmousedown="this.className='winter summer'" onmouseup="this.className='winter spring'"> <img src="Resources/season.png" /> </div> But it doesn't work. You can see I'm trying to change the class of the div containing season.png onmousedown and revert it onmouseup. What am I missing? ...
$.post("test.php", { name: "John", time: "2pm" }, function(data){ alert("Data Loaded: " + data); }); The object { name: "John", time: "2pm" } is anonymous. Normally, I would access the properties of an object using syntax similar to the following: objectname.propertyname But what can I do when there is no objectname? How can...
hi there, i do have a communication probleme here between my java servlet and an ajax request. more about it: Absolute path to the index.html (including javascript/ajax request): http://localhost:9080/chat/index.html In the same folder the servlet: MyChat.class And the Request is working like this: var url = "http://localhost:9080/...
Is there a way to query an embedded flash element to determine the available methods that can be executed on it via JavaScript? Edit: It appears that in IE it's as simple as for ( i in flashNode ) { alert(i); } After much clicking, they will be some of the very last members enumerated. Still not able to determine this in Firefo...
This may sound like a simple question, but I just cannot seem to find an answer on google, probably because the search term will bring back quite a lot of irrelevance. I would like a jQuery selector to select all odd table rows, that are not in <thead> and apply a css class to them all. "table.cp-ss-grid tr:odd" The above selector wil...
I have a span like this <span class='class_name'> blah blah </span> I want to select the class name of this span. for that iam using this.className its working fine in firefox. but for explorer its not... How can i fix that?? ...
Hi , My page has this design. <tr id="master"> <td id="row1"> <textbot> </td> <td id="row2"> <linkbutton> </td> </tr> I am cloning the same TR onclick of the linkbutton and the current link button will be hidden. so a new row will be created. consider I have cloned thrice <tr id="master"> <td id="row1"> <textbot> </td> <td id="row2...
The treeview has leaf node checkboxes.I need to validate the treeview if atleast one of the node is checked and not more than a specfic(say 3 nodes) number of nodes a user can select. Note:The Treeview is a asp.net treeview(not an ajax treeview) ...