I would like to add a class called "with_ul" to li tags where there is ul under in the following normal list with jquery.
In the following case I need to add the class to list of Level 1-B, Level 2-B-1 and Level 1-C since they have an unordered list.
<ul id="nav">
<li>Level 1-A</li>
<li>Level 1-B
<ul>
...
Hi,
I am using the Uploadify Plugin to upload the picture, and i am doing some operations like
a) when a user upload the file the upload button is removed automatically
b) and the uploadify.php script will rename the file and store it in designated directory.
and here is the code which i am using to perform the action.
Jquery Code : ...
Hi,
I have this website and from today the picture slide show (using jQuery) stopped working on Firefox. Working fine on IE & Chrome.
Any ideas?
...
Coding with ASP.NET 3.5 C#, jquery.1.4.2, jquery-ui-1.8.2
My textbox is in fourth asp:View of an asp:MultiView which is not active on PageLoad.
My Page is also a content page with a master page. The textbox is created like
<asp:TextBox ID="txtStartDate" runat="server"
CssClass="datePicker"
MaxLength="20"
Re...
Hi I have the following code on my website, which causes a div to slide out from the left. This works fine, but when the mouse leaves the area I want to the div to instantly disappear, instead of animating back left again. I have tried many different ways of doing this but none seem to work. I'm sure there is an easy way of doing this. T...
I have a form to create a Ruby on Rails object. A part of the form uses radio buttons to choose an attribute. I then use jQuery UI to display the buttons, like so.
<head>
<script type="text/javascript">
$(document).ready(function() {
$("#typeRadios").buttonset();
});
</script>
</head>
<body>
<div id="typeRadios">
<i...
I've got index of my elements:
<h2>Index</h2>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('button').click(function () {
$.post("Home/Swap", $("#log...
hello everyone,
please tell me how can i write a Rating code in PHP.
Like Thumb Up and Thumb Down.
Please help me
thanks in advance
...
I have the following TR in HTML and i using JQuery
<tr class="RowDiv" id="tempTR" runat="server" visible="false"> <td>
<div class="LabelDiv">
<div class="dfltTxtBld">
ID<span class="reqChar" runat="server" id="Span1" visible="false">
...
I am trying to make condition to call chain function in Jquery. I used $.ajax in Jquery submit function to get values from login.php and I am trying to call fadeOut function to close login form. If login succes form will close then there will be some Success message and then it wil lalso close. And if error then form will remain and als...
I have facebox plugin to my jQuery, to make lightbox for me.
I made a link that you click on and then a friend request form comes up in it.
The form makes an ajaxcall when click on "Send request", but the 2 fields dont send anything of what you have written in it, it just sends empty value.
But if its not inside the facebox lightbox th...
Hey there, folks
I spent hours of searching for this but without any success.
I need a plugin (jQuery) that is similar to jQueryUI's .resizable() applet.
I need to resize a div by a grip in left bottom and I cant use jQuery UI.
Any help will be apriciated.
...
function addFav(){
$.ajax({
url: "/favorites/add",
data: {"id": articleID},
success: function(){
$('a#fav')
.addClass('active')
.attr('title','[-] Remove as favorite')
.unbind('click')
.bind('click','removeFav')
;
}
}...
Hi All,
I am trying my way around on using the jquery validate plugin but I cant seem to make it work on one
particular aspect.
I have this scenario, my form has limited space so the label error generated by the validate plugin
cannot be seen if ever there is a validation error
So what I did is, I created a container below my form to ...
Hi,
how can i get the id of an element by using the find method?
HTML
<div id="d1" class="line1">blib blab blub </div>
JS
$(function() {
// hit_id = $(".line1").find("blab").attr('id');
hit_id = $(".line1").match(/blab/).attr('id');
$('body').append(' - '+hit_id+' - ');
});
Working example
http://www...
Hi,
I want to make small image browser like the one used on Myfonts.com (link) in the sidebar under "More fonts like this".
I'm wondering if there is a jQuery plugin that could do that.
I know that this is some kind of carousel, but I couldn't find any with this cool resize function on scroll.
...
Hello everyone, I have a page that has a textarea, when the page is loaded, I want to pre-select the textarea(like twitter.com does), so the user does not have to click on it. Do you know how to do that?
Previously thanks!
Rodrigo Alves Vieira.
...
(updated)
I want to change the following,
<div id="system">
<div id="product_cont img">
<img src="image1.jpg" />
<img src="image2.jpg" />
<img src="image3.jpg" />
..
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Nunc porta euismod luctus. Curabitur vehicula scelerisque diam at vestibulum.
Pellentes...
I have this jquery code right now and it's working fine. What it does it when a user clicks the submit button, it would hide the form, show the loader, then submit the data to a link and load the output in an iframe.
$(document).ready(function() {
$("#xxx_form").validate({
submitHandler: function() {
$('#input_form').hide(...
Hello all,
I have an issue when using the jquery validate plugin with IE. I get the following error "undefined is null or not an object" when validating the form.
The error is at line 431 : " $("#signup_meeta").submit();"
$(document).ready(function() {
$("#pseudobox").hide();
$("#passwdbox").hide();
$("#emailbox").hide();
$("#sexe...