Internet Explorer does not like my Jquery selector. Not sure if it's my weak Jquery
skills or general Explorer strangeness.
Here is the Code:
$("#field_"+index+" #field_Label").val();
[div field_1]
<input id="field_Label" //... you get the picture.
to explain this.. I have a DIV labeled field_1, field_2.. etc..
Internet explorer ...
Hello,
I am using the Jquery cycle plug in with the pager. I have a lot of items to page through. Is there a way I can add back and previous arrows to paginate the pager?
So I have like:
1 2 3 4 5 6 7 8 9
and I want the same but
< 1 2 3 4 5 6 7 8 9 >
Is there an elegant way to code this? Many thanks for your h...
Hi,
I have the following HTML5 content:
<section contenteditable="true" id="editable" class="ui-selectee ui-selected">
<span>something</span>
<span>something</span>
<span>something</span>
</selection>
I have a toggle function that turns on edit mode. I want to make the contenteditable="true" or contenteditable="false" on that toggle f...
I found this jquery plugin which does exactly what I need, but I want to use it on table rows which are in an update panel, so I was hoping to use the live() jquery api to somehow keep the jquery intact across the update panel requests. Is this possible?
jQuery.fn.linker = function(selector) {
$(this).each(function() {
va...
I am trying to use the "beforeSubmit" option in the jQuery ajaxForm plugin to validate the data, however the form will submit even if there are invalid form fields. Where have I gone wrong? thanks,
$(document).ready(function() {
function validator(){
$("#commentForm").validate();
}
$('#commentForm').ajaxForm({
da...
im having some difficulty trying to pull out a specific value from a cookie.
im using the cookie plugin found here: http://plugins.jquery.com/project/cookie
var cookieString = "{'zip':'" + $( '#ZipCode' ).val() + "','age':'" + $( '#age' ).val() + "','gender':'" + $( '#gender' ).val() +"}";
$.cookie("rememberMe", ( ($( '#rememberMe' ).at...
intro
Hello,
I'm trying to develop some plugin or/*and* object in javascript, which will control some properties over some object. It will also use jQuery, to ease development.
idea
This is in pseudocode to give you an idea, since I can't really describe it in english with the right words, it's impossible to go and use google to fin...
I need to get a range of pages using AJAX and put them into an array, where their given place in the array is equal to the i of a for loop (it's a caching-like function for blog pages, and the range of the for loop is entirely variable). I'm doing something akin to the following:
var bongo = new Array();
for (i = 0; i < 10; i++) {
...
I've always used ajax to load() the contents of a DOM element but now I'm trying set a form field value with the result of the following query:
$('#form_field').load(base_url+'ajax/get_yearly_fee', {
'q_value': $(this).val(),
'client_id': $("#fee_client_add").val()
});
What's the best way to do this?
...
I'm trying to find a way to delay all code that takes place after I make a service call. The reason for this delay is that my service returns code necesarry for the following functions and the result I pass is to these following functions is undefined.
I have tried attaching the setTimeout() to the function that is called directly afte...
I'm having troubles with the following code:
<link type="text/css" href="http://jqueryui.com/latest/themes/base/jquery.ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="http://jqueryui.com/latest/jquery-1.4.2.js"></script>
<script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/tags/1.8rc1/jqu...
I used a grid view in my project. in that i used vertical scrolls.. its work fine.
But the problem is , when i scroll down the header is also move
I want to have a fixed header provided the contents alone scroll.
please give me an advice in this regard.
I found many examples but most of them did not work for Chrome.. is there somethi...
Is there any reason for my jQuery effects not to be taking effect immediately? I have jQuery hover fade effects, but then I also have CSS rollovers as backups for anyone who has javascript disabled. What happens is when you load a page and roll over a link, you get the CSS effect, but any time after that, you get the nice, smooth jQuery ...
I have a very small form where a user can enter their zip code into an input field and either hit enter, or click the submit button to submit their zip code to our database which returns search results to the page. Everything works fine using the Enter key. Things don't work so well when the user clicks on the Submit button...
The rea...
I´m working with a purchase process. The process consists of 4 steps. The first two steps is where we take in all customer data. The 3rd step sends the data to our servers with AJAX and then shows a payment form. After payment the customer is thanked in step 4.
My question is about Step 1 and Step 2. Right now all these steps are on the...
Hello,
The question title is a bit strange because I'm not exactly sure how to phrase the problem. The issue is that I have many links to which I want to bind a click event with an ajax call, and I'm just looking to refactor some duplicate code into a single area.
The links I'm trying to bind an ajax call only have one thing that diffe...
Hello Guys, I'm using this plugin http://www.fyneworks.com/jquery/multiple-file-upload/ to create a mail attach system, but it is failing to execute on IE7.
Here's my code:
$(".attachFile").live("click",function(){
var id ="#"+$(this).parent().parent().attr("id");
$(id + ' #attach').MultiFile({
onFileAppend: function(el...
I am following the following tutorial (http://www.highoncoding.com/Articles/642_Creating_a_Stock_Widget_in_ASP_NET_MVC_Application.aspx) on using ajax to render a partial form , but in this example parameters are not passed, and I have not been able to work out how to do it...
This code works with no parameter
function GetDetails() {
$...
Let's say I have a scenario where I have a global plugin (or at least a plugin that binds to a wider array of events).
This plugin takes a selector, and binds a live click to it. Something in pseudo-jquery that might look like this:
$.fn.changeSomething = function(){
$(this).live("change", function(){ alert("yo");});
}
On anoth...
i have to fix the header in a gridview and i use this in style Class
<style type="text/css">
.gridFixedHeader
{
background-color:white;
position:relative;
top:expression(GridView1.offsetParent.scrollTop-2);
}
</style>
but i get an error that expression(GridView1.offsetParent.scrollTop-2);is not valid...
what all do i need to do to ma...