Hi.
I'd like to store some internal Javascript object like Range but I haven't found a way to save it. What's the best way to save it ?
I thought to serialize it but I haven't found anything on the net.
Is there a library that helps doing that? jquery?
...
Is there a way of detecting when a Youtube Video has finished playing from JavaScript?
...
This is my website: http://keironlowe.x10hosting.com/
I need to know how to make the red line slowly get longer when hovering over, and slowly shrink back to normal size afterwards using javascript or jQuery.
Could someone show me something to get started in the right direction?
...
Hello all,
I make an AJAX request to a PHP script which returns a number from a text file that changes. This AJAX request should happen every 3 seconds. However, an AJAX request is made once and it doesn't return anything and firebug shows the AJAX GET request is still being made. After a few minutes it returns and produces a number. It...
I have been reading online and some places say it isnt possible, some say it is and then give an example and others refute the example, etc.
How do I declare a 2 dimensional array in js? (assuming its possible)
How would I access its members? (myArray[0][1] or myArray[0,1] ? )
Thanks
...
I would like to have this function:
function count(inputObj, ouputObj)
{
outputObj.value = inputObj.value.length;
}
And I would like to call it in this way:
<asp:TextBox ID="txtUSERGUID" runat="server" onkeyup="count(this, document.getElementById('<%=txtUSERGUIDLength.ClientID%>'));" onkeydown="count(this, document.getElementById(...
What is the best way to implement server push for more than one thing.
Lets say I want to just update user status, so I can periodicaly poll the server for status in like 1000ms and update the page.
The other way I can found is that server waits for like 30 sec, while it checks if there was any change and if one is found, server push...
Possible Duplicate:
How do I get the current location of an iframe?
Hi,
How can I get the URL of the page inside my iFrame.
For exampple, I have a ifarme in my page:
<IFRAME name="Google" id="Google" style="position:absolute;left:0px;top:100px;width:500px;height:500px;z-index:1" src="http://www.google.com/" frameborder="1"><...
Hi,
I have a pretty simple question, but with an answer that I am unable to find. I was wondering if it is possible to lock a web browser (sticking with IE for now is fine) from being resized under (or past or smaller than) a certain set of dimensions.
For example, a new pop up window that starts at 500px by 500px, but can be enlarged ...
Hello,
I am currently trying to find the parent of a parent of an element. I have a link being clicked that is in a <td>, and I'd like to get the <tr> object.
Why wont "$(this).parent().parent()" work? What will?
Thanks,
Brendan
Edit: It appears an error in my syntax was throwing the whole thing off. "$(this).parent().parent()" does ...
I'll do some work on a line separated string. Which one will be faster, to split the text via String.split first and then walk on the resultant array or directly walk the whole text via a reg exp and construct the final array on the way?
...
I would like to add a link in my javascript messagebox function. Is there a way to do that?
TodayDate = new Date();
if (sender._selectedDate < new Date(TodayDate.getYear(), TodayDate.getMonth()-1, 1))
{
alert("Only current and previous months active.\n\nPlease visit\n
Agency ...HOMEPAGE...\nfor Archive Commissions");
sender._selectedD...
Hello,
I am new to CSS and trying to achieve the following effect:
I have a table with short text lines in each cell, I want to be able to put 1-N small icons
on the middle of the cells borders.
A small sketch that might help visualise it:
http://img200.imageshack.us/img200/6506/sketcha.jpg
I would be thankfull for any guidance.
Re...
On the front page of a site I am building, several <div>s use the CSS :hover property to add a border when the mouse is over them. One of the <div>s contains a <form> which, using jQuery, will keep the border if an input within it has focus. This works perfectly except that IE6 does not support :hover on any elements other than <a>s. So,...
Although an Autocomplete question was asked last year, I wanted to see if there was a solution that worked in both IE and FF that disabled the Google Toolbar Autocomplete.
A Google employee suggested they will release support for the autocomplete="false" attribute, but it appears it will just be for FF.
Update:
- I haven't found a sol...
I am sure this has been discussed repeatedly, but I am stumped. I am using jQuery to make an AJAX call to an ASP.NET Web service which returns some HTML. That part is working fine.
I want to do some calculations on the height of the HTML returned, but when the the call happens for the first time I am getting a height of 0. I know my cal...
Is it possible to use the JQuery Slider (range slider / dual slider) to have non-linear (non consistent "step" size) values?
I want to horizontal Slider to look like:
|----|----|----|----|----|--------|--------|-------------------------|--------------------------|...
0 500 750 1000 1250 1500 2000 2500 ...
This may sound crazy, and i didnt believe it until i saw it for myself.
The vertical scroll bar does not scroll when you click in the space between the scroller or the arrows. You have to drag the bar to get it to scroll. This only happens in the ugly default theme (not windows classic).
The scroll bar has some heavy javascript behin...
I'm trying to figure out why this JavaScript doesn't stop the form from being submitted:
<form action="http://www.example.com" id="form">
<input type="text" />
<input type="submit" />
</form>
<script>
var code = function () {
return false;
};
var element = window.document.getElementById("form");
if (element.addEventListener...
Is there a way I can mark JQuery Flexigrid columns as sortable if I don't define them in-line?
i.e. I know I can do this
$("#flex1").flexigrid(
{
colModel: [
{ display: 'Col1', name: 'Col1', sortable: true },
{ display: 'Col2', name: 'Col2', sortable: true }
});
But I construct the grid jus...