I'm working on a multipage form in .Net using AJAX (UpdatePanels). I am stuck right now trying to get a class added to the textbox that is invalid to basically highlight it red.
I found a sample online using this code:
$("span.invalid").bind("DOMAttrModified propertychange", function (e) {
// Exit early if IE because it throws...
I am trying to enable a disabled tab in Jquery but it doesn't work I have my tabs:
<!--Jquery AJAX Tabs Start-->
<div id="signuptabs">
<ul>
<li><a href="type.php"><span>type</span></a></li>
<li><a href="ber.php"><span>mber</span></a></li>
<li><a href="ces.php"><span>ces</span></a></li>
<li><a hre...
I have input checkbox something like this..
<input class="inputchbox" id="Pchk" type="checkbox" name="check" value="<%=Model.ID%>" />
using javascript I need to get the all checkbox checked Ids in to the array?
how do I need to get?
thanks
...
I've been given a task to make a dynamic drop down which takes it's data[image and value id] from table. I am wondering if any of you came across this scenario or if any one can help me out in this I need help in concept and coding. Definitely any help is appreciated.
I see the example in jquery here is the link:
http://www.marghoobsule...
So, I have radio boxes of the form
<li><input type="radio" name="names" value="blah"><a>Some text (blah)</a></li>
There are 100 plus of these radio buttons.
Now, I have a jQuery filter, from here. The filter works well.
But, I want to set a jQuery statement that will auto select the radio button if it is, amongst the shown, the onl...
In my CSS file:
a, a:link, a:visited { color:#4188FB; }
a:active, a:focus, a:hover { color:#FFCC00; }
I tried with:
var link_col = $("a:link").css("color");
alert(link_col); // returns rgb(65, 136, 251)
How can I get the HEX code?
* edit: found the answer here:
http://stackoverflow.com/questions/638948/background-color-hex-to-js-v...
I want to develop a JQTouch web app that will display a list of the titles from an rss feed and then display the title and description when the title is tapped. Can someone please suggest a tutorial or resource that could help me?
...
Hi,
I'm trying to figure out how to make 4 images fade in sequentially when the page loads.
The following is my (amateurish) code:
Here is the HTML:
<div id="outercorners">
<img id="corner1" src="images/corner1.gif" width="6" height="6" alt=""/>
<img id="corner2" src="images/corner2.gif" width="6" height="6" alt=""/>
<img id="co...
I would like to create a jQuery plugin with an API something like this:
$("#chart").pluginName().attr("my_attr");
Instead of these:
$("#chart").pluginName_attr("my_attr");
$.pluginName.attr("#chart", "my_attr");
Basically, instead of having to namespace every method that acts similar to ones in jQuery, I'd like to "scope" the metho...
hello everyone,
i'm not sure where my errors are lying but here is my scenario...
i have an un-ordered list in html that handles my main link bar...
<ul id="navlist">
<li><a href="/" id="current">home</a></li>
<li><a href="#" id="search">search</a></li>
<li><a href="#" id="users">login</a></li>
</ul>
and what i want ...
Hi, I've got a problem with the following code
<script type="text/javascript">
var mydata = [ {id:"1",name:"foo"},{id:"2",name:"bar"} ];
jQuery(document).ready(function() {
jQuery("#lgrid").jqGrid({ data: mydata,
datatype: "local",
height: 150,
width:600,
...
I'm trying to log the change of a value in the console (Firefox/Firefly, mac).
if(count < 1000)
{
count = count+1;
console.log(count);
setTimeout("startProgress", 1000);
}
This is only returning the value 1. It stops after that.
Am I doing something wrong or is there something else affecting this?
...
So I have this structure setup:
<ul>
<li>http://www.youtube.com/watch?v=dw1Vh9Yzryo</li> (Vid1)
<li>http://www.youtube.com/watch?v=bOF3o8B292U</li> (Vid2)
<li>http://www.youtube.com/watch?v=yAY4vNJd7A8</li> (Vid3)
<li>http://www.youtube.com/watch?v=yAY4vNJd7A8</li>
<li>http://www.youtube.com/w...
I have some tabs that load ajax content. When I click on the tabs it loads the ajax content perfectly no issues works exactly like it does in the Jqueryui demos.
But when I try and change tab using an onclick function it opens the tab but doesn't do the ajax. Is this a known issue can it be done?? Do ajax tabs rely on the user clicking ...
Hi
I'm currently having some weird issues with ajaxsubmit (http://jquery.malsup.com/form/#ajaxSubmit), which I'm currently using in a project.
I have a flow where I need to open a form into a modal window. I'm using fancybox for that and it works like a charm.
When the form has been forced to open in the fancybox window there can happ...
Ok, i won't go into the full details (too much to explain) but here is what i am trying to do. I have a button on a webpage (we'll call page-1) that links to a page (we'll call it page-2). This page opens in the same window. However, i need the page (page-2) that opens to open up a new window with another page (we'll call this one pag...
What is the simplest way to increase a variable by 1 every second?
...
I am using jquery to sort through a group of paragraph tags (kudos to Aaron Harun). It pulls the value "letter" (a letter) from the url string and displays only paragraphs that start with that letter. It hides all others and also consolidates the list so that there are no duplicates showing.
See the code:
var letter = '<?php echo(st...
I'm trying to set up jsTree to dynamically accept JSON data from django.
This is the test data i have django returning to jstree:
result=[{ "data" : "A node", "children" : [ { "data" : "Only child", "state" : "closed" } ], "state" : "open" },"Ajax node"]
response=HttpResponse(content=result,mimetype="application/json")
this is the js...
Here's the picture to begin with.
I have this check box, that when you check, then with jQuery toggle(); it hides that you see in first half of the picture (#writeComment) and shows #SCtryVOTE (what you see in the other half picture, to the right).
Now i dont know why but of some reason it expands when its checked, why i dont know, i...