It is already a second time when IE causes problems on totally blank space (not merely but totally). Then when I'm trying to put an alert box somewhere in between the not working code, all of a sudden, it starts to execute the whole logic after alert!.. If I remove alert() it goes blank again.
What is this?? Has anyone anywhere ever enc...
I have a table and I wish to extract the html from a specific row without a specific class.
So for example with the row.
<tr>
<th class='a'></th>
<th class='b'></th>
<th class='c'></th>
<tr>
I would hope to get a result like
<th class='b'></th>
<th class='c'></th>
I've attempted a few variants of
var newTr = $('#table01 tr:nth-c...
When any exception occurs on the ASP.MVC server side code, I would like to take the entire stack trace of the exception and place in the ViewData and returns to the client. For example:
try
{
//some code
}
catch (SomeException e)
{
ViewData["exceptionStack"] = e.StackTrace;
}
The JavaScript on the client side would ju...
Hi everyone,
I want to use in my website and I want the tooltip to "chase" after the mouse. That is the tooltip balloon should display next to the cursor and remain next to it even if it moves.
What's the best method to do so?
Thanks!
...
How can I manipulate dates so that they show up as "just now"... "5 mins ago"... "3 hours ago"... "June 22nd, 2010 at 1:45pm" in similar fashion to how SO displays the dates next to the answers/comments to each question?
To further complicate matters, the dates stored in my database are in GMT time (which is fine), but I want them to a...
I have only used jQuery UI a tiny amount and do not know it very well. If I pick up a book on jQuery UI 1.7 will it still be relevant (for the most part) to 1.8?
...
Hi,
I'm developing a Greasemonkey script to be used only with Firefox, and I need some help. I'm planning to use jQuery, and possibly some other scripts later on. Since the @require for GM only downloads the script at the initial install, later updates to the code won't download updates to external scripts.
Therefore, i was wondering: ...
I have a div that floats at the bottom of the screen and want to let users vertically resize it (by grabbing a handle on the top of the div and pulling the div up or down). I am using Prototype.js, so it just has to be compatible with that, though if there is a simpler way of doing it than with yet another javascript library that would ...
I think I need something like ruby's splat * here.
function foo() {
var result = '';
for (var i = 0; i < arguments.length; i++) {
result += arguments[i];
}
return result;
}
function bar() {
return foo(arguments) // this line doesn't work as I expect
}
bar(1, 2, 3);
I want this to return "123", but instead I get "[objec...
I am trying to establish a long lived connection using jQuery. I have a URL in the form of:
http://www.sample.com/Notify?sessionId=xxxxxx
Now if I call this URL with the sessionId, it is equivalent to registering for Asynchronous notifications. I am aware of ajax calls using jQuery but as I understand it, after getting some data, jQue...
What is the killer benefit of Reactive Extensions (for either .NET or JavaScript)? Why should a developer learn and use them?
...
I have added context menu to my google map like this:
map.addControl(new ContextMenuControl());
it is rendered with English texts whish is not what I want unfortunetly. Do you know a method to change locale for gmaps context menu (I want to show menu positions in language other than English)?
In a big picture I want to deliver functi...
hi ..
This is my chats' sign out function. It works perfectly when I open the chat on a page alone.e.g. www.abc.com/chatbox/index.htm
But when its with other elements in the same page using iFrame it will not work.e.g.www.abc.com/chat&paintIframe.htm
This is my code
<script type="text/javascript">
function singout(){
data="user=" + ""...
After you click a link on the iphone or ipad, it leaves a simulated mouse hover that triggers the a:hover css styling on that link. If the link has a javascript handler that keeps you on same page, the hover state will not change until you click on another link.
This gets weird if you have an ajax widget that asks questions and each ans...
Using ruby, how can I get webdriver to click on a javascript link?
The link I'm trying to click on is:
<a class="TabOff" href=" javascript:showConfirm('/campustoolshighered/k12_admin_admin_menu.do');">Administration </a>
Would I be able to trigger the javascript with a keyPress event? If so, does anyone know the syntax for doing that?...
I have very little experience with web development. I have a little experience with HTML and I am learning JavaScript right now. I created a program in Java using a a last.fm library for Java. I was able to get user information, artist information, and venue information. Now I want to try and do that in a webpage, which is where my probl...
So, I'm working on a WYSIWYG editor with an already setup Grammar, etc. I've been tasked to add copy and paste functionality for cross program. The code I have works in Google Chrome on Ubuntu, Firefox in Ubuntu and Windows, but not in Chrome on windows.
I've tracked down the problem to something basic. When the paste command is sent (t...
I'm building a form system with jquery and using basic validation (if a form has the required values and is of the required type) as a front line system (I validate at the backend too) for validating as the user submits, this is to prevent useless requests when possible (eg: submitted a completely empty form)
What is the "proper" way to...
I'm using videobox to embed streams into my site, and I just discovered that when videobox is "on"- i.e. I clicked on a link that brings it up and dims everything around it- I can still scroll down and see the rest of my (non-dimmed) site. This breaks immersion, and I'd like to disable the scrolling, but only for when the videobox is on....
I'm trying to change a class by first discovering if it is the parent object to a particular image using Mootools (clients previous web developer seemed to have it in for me). I can't seem to find much good documentation on the subject.
<div class="textwidget">
<img src="share.jpg">
</div>
So far I've managed to locate all the divs ...