Hello all,
I have a form and I wish to get the value of a radio button but it always gives me the same value ("floating") even though I select a different radio button and I run this function?!
HTML:
<input type="radio" id="license_floating" name="license" value="floating" class="realtime" />
<input type="radio" id="license_fixed" nam...
Why is only one value of the "db" checkbox values array being sent to the server side script?
JQUERY:
$(".db").live("change", function() {
$(this).add($(this).next("label")).add($(this).next().next("br")).remove().insertAfter(".db:last + label + br");
var url = "myurl.php";
var db = [];
$.each($('.db:checked'), functio...
I'd like to make a very simple jquery box come up saying "Sorry, that blog post could not be found."
I don't want anything very advanced... How should I go about this?
...
i am trying to prevent all elements within a div from being selected. this is not working.
$('*').not('#someid > *')
...
So I've got this jQuery AJAX call, and the response comes from the server in the form of a 302 redirect. I'd like to take this redirect and load it in an iframe, but when I try to view the header info with a javascript alert, it comes up null, even though firebug sees it correctly.
Here's the code, if it'll help:
$j.ajax({
type: 'PO...
I am using jQuery to load a massive table in batches of rows. I am loading the initial rows, then I make $.ajax calls to append rows to the body of the table. On completion of the insertion of the next chunk of rows, I call the method to process the next chunk of rows. See code below. The problem is, even after all the content is loaded,...
Hello again , I've tried to find an answer here before I submit this Q , but they weren't addressing the problem I have !
I'm wondering if I can code all of my scripts using jQuery, I already have a good background in programming and a good understanding of basic/intermediate javascript ( variables , variable scope , objects ,closures) ....
I have a semi-working example that you can look at.
This appears to work as most would desire, though it shares a bug I am seeing in many other accordions, which is if you click on the an already opened header link, it will be closed, and then opened again.
Any elegant solutions?
Here is the jQuery
<script language="javascript">
...
I'm using the qTip plugin for jQuery. Using the following function it cycles through each of the a tags with a rel attribute and applies the qtip function to each link. Works a treat in Firefox and Safari and is supposed to work in IE.
$('a[rel]').each(function () {
var $link = $(this);
$link.qtip({
content: {
url: '/toolti...
Does anyone know how can I removed the option from select base on the option value in jquery?
example:
<select name="group_select">
<option value="a">A</option>
<option value="b">B</option>
<option value="c">C</option>
</select>
For this case, I would like to removed B by just clicked on a button and without selected the ...
I need to store the datetime in CST timezone regardless of any timezone given.
The Clients who access the application are from from various time zones, like IST, CST, EST,...
I need to store all the datetime entered by the client in CST timezone to my database. And while retrieving, i need to convert back to there local timezone.
How ...
I tried $.unbind('hover'),which is not working
...
If I need to assign a click function dynamically, is there a way to ensure the click function is only assigned once and not duplicated?
this.click(function(){
alert('test');
})
...
Hi all, Iam getting new window pop up by using window.open(), but need When i click button in Mozilla browser, a new pop window should open in Internet Explorer, Is it possible......
...
I have the following code....
When the page is loaded myFunc() is called even if I dont click in my div. Why?
The function declared "inline" is not triggered...hmmmm........
<div id="map" style="background: green; height: 100px"></div>
<script type="text/javascript">
function myFunc() {
alert("allways triggered when...
I am using UI tabs and i want to validate each tab.
When a click the second tab i must validate the first tab.If tab is valid go to second tab, if tab is not valid stay to the current tab and fiil in missing form elements.And so on for all my tabs.
I use $('#tabs').bind('tabsselect', function(event, ui) but the tab change even if its n...
i already know how to use the filtergrid but it just doesn't suite my needs, i cant customize the layout and it is not possible to use checkboxes.
is it possible to create my very own search form and somehow pass the values to jqGrid?
tia
...
I'm using some pretty simple JQuery Ajax loading and it works happily everywhere except for one item. The area is loaded after the page has completed loading and then binds all the delete links to an ajaxform submit. This works 100% until the delete button is used. The content reloads correctly but the rebinding seems to happen before it...
I'm writing an html page with some jQuery for style. So I have the following:
$("table tr:odd td").css({"background-color":"rgb(233,247,255)"});
This makes every other row bluish. But just now, I put a table inside one of the cells. What happened? Well, it treated the row of the inner table as if it was a row in the outer table, and t...
Because of performance purposes I put loading of jQuery scripts at the bottom of the page (just before the closing body tag).
My question is how to enable page specific scripts? I don't want to put everything inside $(document).ready method (again because of performance purposes).
Update: I'm using a template system so I put jQuery loa...