Hey,
I'm trying to use the ajaxStart and ajaxStop events with getJson calls to my webserver. The ajaxStart event is triggered on the first request, but not on subsequent requests. The encID ensures that each requested url is somewhat unique. It doesn't work on Firefox 3.5 or IE 7. In firebug, I can see the the getJSON requests are f...
When I ran the profiler on a JQuery intensive page while tuning for performance, I noticed that these JQuery functions take significant amount of time (in that order)
dir (9.42%)
Sizzle (3.79%)
filter (3.79%)
My jquery functions are too large to paste here. Can I get pointers on which JQuery functions internally call these functions?
...
If a page has both JQuery and Prototype then I got conflict. There is a option to disable $ sign for JQuery so there is no conflict but, I have to use keyword JQuery instead of $.
I wonder if there is any option for Prototype to solve this conflict. Is there any way to use both libraries without compromising their benefit or short keywo...
Hi,
We are in the process of migrating our ASP.NET application to use Jquery instead of AjaxControlToolkit. We use the popup extender quite extensively in our application. I was wondering if there exists a plugin in Jquery that does what the AjaxControlToolKits's PopupControl does. (It opens a popup window to the Center, Left, Right, T...
JQuery Code
$(".riskInformationButton").bind("click", function(e){
var toggler = $(this).parent().parent().next();
var className = $(toggler).attr("class");
while(className.indexOf("space") == -1){
toggler.addClass("visible");
if(toggler.hasClass("visible") && toggler.hasClass("hidde...
How could I, on the fly, remove spaces entered into a textbox while the person is typing?
...
This should work right? I have not a clue as to why it's not. I have to be doing something wrong.
<div id="randomdiv">text</div>
<a id="refresh">click</a>
<script>
$(function() {
$("#refresh").click(function() {
$("#randomdiv").load("index.php")
})
})
</script>
...
I'm making a rating system, and I have the following jQuery code on my index.php page:
<script type="text/javascript">
$(document).ready(function() {
$("[id^=rating_]").hover(function() {
var rid = $(this).attr("id").split("_")[1];
$("#rating_"+rid).children("[class^=star_]").children('img').hover(function() {
$(...
I am using JQuery ui with datepicker and when a user tabs on to a field, they appropriately get the calendar pop up.
User tabs (via key onto field
User selects date with mouse click
User tabs
Tabindex starts over at one (at the beginning of form)
Here is code. (May also have the tab index set)
<input type="text" name="demo" />
<in...
Are there any more extensive tutorials / documentations on the tabs widget? http://docs.jquery.com/UI/Tabs doesn't seem to cover or explain advanced features. I'm at a loss for how to dynamically add and remove tabs, for instance. Should I be studying some more background to the jquery UI?
...
Hey Guys,
I have an index page index.php, and when the user clicks on a project (for the sake of this question, lets say that project is contained on an html page called aeffect.html), it loads aeffect.html into a div:
<div id="popupContainer"></div>
which is contained oncontained on index.php.
However, there are many projects on ...
Hiya all, I'm really stuck .. I need urgent advice :D here is my html :
<!-- Beginning of ROW !-->
<div id="row1">
<div id="entry">
free
<span>some text</span>
<p>DKK</p>
<input type="radio" name="red<% Response.Write(counter); %>" id="radio" value="0" />
</div>
<div id="entry">
week
<span></span>
<p>DKK</p>
<input t...
Interesting dilemma here. I need the ability for users to add links from their browser bookmarks to a field in a Rails form. Basically I would like them to click a button, have it open their browser bookmarks, have them click a link, and it will automatically populate the form field with the bookmark url.
This is a rails / ruby site, bu...
I'm implementing a page jquery tab toggle that loads content from hidden divs on the page. on one of the hidden pages i have a calendar popup (part of the jQuery.UI api. this works find on it's own page but when i add it to a hidden block and then load that block into the visible window i loose the ability for the calendar to pop up co...
Hi, I m having a problem in chrome with the following:
var items = $("option", obj);
items.each(function(){
$(this).click(function(e){
//alert("test");
process($(this).html());
return false;
});
});
The click event doesnt seem to fire in chrome! In firefox it works!I wa...
Hey guys,
I have a few different divs with different projects and names. Each one has a unique name, and I would like that when a user clicks on one, that it loads the appropriate page into the popupContainer div. For some reason it is not calling though.
This is the Jquery:
$(document).ready(function(){
//Find & Open
$(".proj...
We are considering a web version of some of our Windows desktop software. One of the challenges I've faced is that we need to record sound from the microphone for some of the programs.
Any suggestions of what options might fullfill that? (Adobe Air, Flash, Silverlight, etc.) ?
...
Ok, I am just trying to toggle this DIV .. There are many more that follow this HTML structure. The input-container and input-expand are working, as they toggle appropriately ..
How can I just toggle the internal div.header-image-open and div.header-image-close? I appreciate anyone who can help out!
$(".input-header").click(function...
I was wondering if there was a function that I can add to this, that would show the data again, as in make it slide back down or something after a given set of time so you can go back and re-enter your data.
It currently just slides up after submit, and then shows the text.
$("#help").slideUp(function() {
$("#help").before('<div class...
In an application I write that uses a large HTML table of numbers the design requires that the row and column of the hovered cell will be highlighted.
I develop all the JS for this project using jQuery 1.3.x, and I found the tableHover plugin that does exactly what I need.
But:
on IE6 the performance of this plugin drops down as the n...