Hey I am working on a new site build, and one of the main components on the homepage is using jQuery UI Tabs. However for some reason when I have "break on all errors" turned on in firebug, it is throwing an error.
I am not sure exactly what is wrong, from what I can see it should work as intended. Here is a link to the page in question...
I want to show values of two radio buttons in the span tag when they are clicked, but this is not working :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</tit...
I am using JqGrid to display some data, and want to enable editing for one column (InvoiceStatus).
The issue is, it does not call the editurl server.php.
Thanks.
var lastSel;
jQuery(document).ready(function(){
// Generates the Category Grid, and observes for events, and acts on them
jQuery("#list987").jqGrid({
url:'php/sel...
Hey..
When i select some data from my option i need the value to be showed when "onchange" the select... can someone help me ?
<select name="search_school" id="search_school" onchange="$('#search_school').val() = $('#school_name').val()">
I want the selected option value to be showed in the hidden input
<input type="hidden" name="...
I'm storing my passwords on a server, and, using nothing but HTML/JavaScript, I need to be able to take an input password, compute the hash, then compare against what's in my database via Ajax.
As I'm using CouchDB, there's actually no server code, which is where I'd normally do such a calculation.
Any kind of one way encryption woul...
Just wondering if its possible to convert the following to an IF statement in Javascript:
$('.Nav table tr:has(table.navheader) + tr:has(table.navitem)').addClass('linksbelow');
Example:
IF $('.Nav table tr:has(table.navheader) + tr:has(table.navitem)').addClass('linksbelow'); = **TRUE** (
$('.Nav table .navheader').addClass('linksbe...
I found it very easy to implement modal windows that included an html or asp page in it with facebox but I wanted to give SimpleModal a try.
I was trying to learn how to use the Contact Form
http://www.ericmmartin.com/simplemodal/
but realized it was only for php.
I am a novice coder so please have some mercy. :) .
Anyhow what I was ho...
i cant for the life of me figure out how to change the date from default mm/dd/yyyy to the european dd/mm/yyyy
the manual states to use:
$.datepicker.formatDate('yy-mm-dd', new Date(2007, 1 - 1, 26));
so far i have:
$('#next_date').datepicker();
which shows the calendar fine but im not sure where the first line of code goes. this ...
I am using beforeShowDay and have assined the class specialDay to particular days in my calendar this works fine, however i am having trouble understanding how to style the class and how the css from theme roller is working in general. I have tried:
td .specialDate {
background: #33CC66;
}
but this has no affect on the look of the ...
I want to know if its possible to change the name of the input tag with javascript or jquery, for example in this code :
<input type="radio" name="some_name" value="">
I want to change the some_name value when user select this radio button.
the reason what i want to do this is described here : http://stackoverflow.com/questions/13247...
I've got a script executing on $(document).ready() that's supposed to vertically align block element in my layout. 90% of the time, it works without issue. However, for that extra 10% one of two things happens:
There's an obvious lag in the time it takes to do the centering, and the block elements jump into position. This could simply ...
I'm trying to have 'help' tooltips which appear when you click on labels of certain class, and go away when you click away. Nothing appears. I can set breakpoints in firebug and see the 'loading' tooltip, and then when the ajax returns the tooltip updates correctly, then removeTooltip gets called phantomly (stack trace just says F() F(...
I previous recieved help with a problem, getting a multiple option select form to create new inputs, depending on how many were selected. The code below is what ended up working for me (credit goes to Peter Bailey)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<titl...
I am trying to create a form with many groups containing many radio buttons. When the user selects a button, I would like to calculate the sum of each selected radio button value and show this sum to the user.
I have found a plugin for jQuery which will do the calculation, this plugin use the name attribute of the buttons to calculate. ...
I am currently working on a project that lets users post comments with jquery and ajax. So far it is using Json and retunring several items, username, comment text, user photo url, comment ID number and stuff like that, I then need to use some sort of template to make all this data go into the correct div's before adding it all to the s...
Ok, here is the situation. I have a site that I subscribe to that lets you add your own code, etc. They have a forum editor that I am unable to skin to match my site, so I'd like to just change the colors of the inner most frame (doc3 in the example below).
Here is the basic setup... yes, all documents are from within the same domain bu...
Hello, I'm a web designer working on a project. I have an idea that would require jQuery. Since my experience with jQuery is fairly basic, I thought I would ask here what might be the best option for what I need.
I have a section on the home page of the project. I would like to have a "wall" of images that would be equally spaced. When ...
Hi there,
I'm trying to make a post request via ajax using jQuery (for the BaseCamp API), and I can't seem to get it to work. I can get it to work using curl just fine, so I know it's something I'm doing wrong with jQuery. Here's the curl command which works:
curl -H "Accept: application/xml" -H "Content-Type: application/xml" -u my....
We use an outside system to serve ads on our site. Currently in our header files, we have some js which uses jquery to insert the data to our ad holder which is a div that appears on every page, i.e.
$("#adSpot").prepend('put my ad here');
Our third party ad system just started using Google Ad Server another system to serve ads so no...
I'm working on separating JavaScript code from my HTML. I currently have code that looks like this:
<div onclick="return do_something_with('100566');" class="clickable">Click Me!</div>
I'd like to swap the onclick to an attribute containing just the parameter I'm passing to the method.
I'm using jQuery for this with the following ty...