I have a landing page with several actions. The action are within table rows that are hidden by default and open when a user clicks the action title. I want to control what is shown/hidden based on a query string variable.
For example one of the actions is "Request a call." There are links on other pages of the site to request a call...
Hi there,
I am working for a developing firm and am doing a major redesign on a Web Application, which reloaded everything after each click, to make extensive use of Javascript, so it actually feels like a real Web application. One of the Features is to use a web-based Painter (think of MSPaint on the Web), which I embed on the Page on ...
I've just been pondering the jQuery live() event binder, which seems like a really useful function.
http://docs.jquery.com/Events/live
One thing I note is that it doesn't support all events:
"Currently not supported: blur, focus,
mouseenter, mouseleave, change, submit"
My (very simple) mind reasons that surely if it were implem...
I have a webpage with jquery generating dynamic html input boxes.
Something like this appears on the page.
<input type="text" id="numbers[]" ></input>
<input type="text" id="numbers[]" ></input>
<input type="text" id="numbers[]" ></input>
<input type="text" id="numbers[]" ></input>
These text-boxes all use the same autocompleter, is ...
We need the ability to call a handler if a user enters text without choosing from a set of autocomplete suggestions.
In our case it doesn't matter if the entered text matches any autocomplete values or not - we only care if the user clicks/selects an autocomplete value, or not.
The way our form works is that a user starts entering a co...
I want to turn this:
document.getElementById("associatedDisplayDiv").innerHTML += formatedResult;
... into jquery.
I've tried doing this:
$("#associatedDisplayDiv").html( $("#associatedDisplayDiv").html() + formatedResult );
But this is not right, apparently. What happens is that this new line of code remove the value of a input ...
Here is the code. IE7 spouts an "'active.0' is null or not an object" error on line 39, which is:
input.trigger("activate.autocomplete", [$.data(active[0], "originalObject")]); $("body").trigger("off.autocomplete");
Works perfectly in Firefox/Chrome/Opera. Any ideas? Many thanks and much appreciated.
/* jQuery Autocomplete
* Version...
Hello every one
can some one help me with this
Problem: the datepicker is not displaying properly, it is half seen
and half not like faded or washed away paper
it works on every browser i tested even IE 6 on some
machines but other which use IE 6 have this
problem. below is the screen shot of how it looks.
ima...
I have a "processing..." div overlay that I show with $('').show() prior to making ajax calls and hide on completion. The problem I'm running into is that if I want to show the div and then make several ajax calls prior to hiding the div again it seems to queue the events in Internet Explorer (7) and Chrome (2.0.172.39), but I get the e...
Hi,
I'm trying to create a form that sends the customer's name and email address to icontact (an email list application).
All the values are correct for icontact and if I submit the form as usual, icontact responds that it added the email address. The success message loads in a new page from icontact's website.
What I'd like to accomp...
I have a simple form that has a list (dropdown list generated from a DB), when a user makes a selection, the selection is printed on the screen. The problem I'm having is that if I use jquery to call the php funciton that generates the list when the page is loading, the list will not work, but if I add the code directly in the html it wi...
So I am trying to use a flash uploader (specifically uploadify, but tried swfuploader as well) and for some reason the progress isn't being tracked correctly. I am about to give apache a try, but would prefer to use nginx due to its lower memory consumption and speed. Now this isn't an issue with an upload_progress module, since flash it...
I am using jQuery and the jQuery.form plugin to submit my form (also using ASP.Net MVC).
Problem is the user is in a section of the site that uses forms authentication and if their auth cookie expires during their time on the page instead of getting back a status of 302, which would be the redirect to the login page, I still get 200?
...
I'm implementing the auth module in Kohana, and I can't seem to figure out the source of this error message--it happens when I submit a registration form that creates a user in the database (which it successfully does).
An error was detected which prevented the loading of this page. If this problem persists, please contact the websi...
So i have my destroy command. The problem is I don't want my users to be able to delete this category if it contains items. So I have an if statement in my destroy method. That works all great, but I'm using AJAX to have the page not load and using a destroy.js.erb file. My method is below:
def destroy
@promotion_type = PromotionTyp...
Hey everyone
I'm using jQuery's autocomplete in a relatively simple way:
$(document).ready(function() {
var data = [ {text: "Choice 1"},
{text: "Choice 2"},
{text: "Choice 3"} ]
$("#example").autocomplete(data, {
matchContains: true,
minChars: 0,
formatItem: function(item)
{ return item.text...
I am attempting to use Jquery to determine if an image has properly loaded or is broken.
The following works just fine (and returns true or false as of the state of the image) but only seems to work in IE, In firefox, it seems to always return "true" - even if the state is actually imcomplete:
image = $("img#myImage");
alert(i...
I'm looking for some help with the following code, in which I'm trying to dynamically load some PHP content into a DIV:
<script type="text/javascript">
$(document).ready(function() {
$("#test").click(function(event){
event.preventDefault();
$('#folders').load('loadfolders.php');
});
});
</script>
This code works fine ...
I'm working with JQuery UI (rotating tabs) and I'd like to know how to stop the cycling
when an onclick event occurs on one of the navigation tabs.
$(document).ready(function(){
$("#sws_featured > ul").tabs({fx:{opacity: "toggle"}})
.tabs("rotate", 5000,true);
});
I tried adding ...
Hi i have a jcarousel element on my page. The code is something like this:
<div id="one">
<Arrow><jcarousel><Arrow>
</div>
<More content>
<div id="two">
<Arrow><jcarousel><Arrow>
</div>
Whats i want it to do is when either of the two left or right arrows are pressed, both the carousels move.
Any help is much appreciated.
...