hi,
in my jquery code, i made ajax request and server returned data in JSON like this:
{"list":{
"category":"book",
"item":[
{"title":"jQuery Cookbook","author":"Tom","publisher":"Wonderland"},
{"title":"PHP Cookbook","author":"Jack London","publisher":"O'Reilly"}
]
}
}
in my jquery c...
Hello,
I am working on a Jquery accordion stuff. I want to add a class to the div that contains the accordion trigger <a> tag. You can look at my code. I want to add "first" class name to just first "newsitems" class when clicked "Recession fashion in Japan Video" title.
<!-- news items starts-->
<div class="newsitems">...
Hello,
I'm trying to check/unckeck a selectbox by jquery in a previous TD. I have tried for hours several combination with prev(), parent(), closest(), but still without result... Here is the example code:
<table>
<tr>
<td><input type="checkbox" class="resultcheck"></td>
<td><label class="resultchecklabel">Text 1</label></td>
</tr>...
Hello, i write row click handler:
$('#mTable tr').unbind().live('click', function() {
//specialFunction()
});
specialFunction must not reachable when i clicked on last <td> in clicked row.
is it possible?
...
I am looking for a JQuery accordion plugin that supports the following:
UL based
built in support for nested ULs
cookie persistence (even on different paths)
standards compliant
jstree/treeview/dynatree are out of the question
...
I've been trying to set up a basic test animation using jsanim.js and using their example site to set up my html, css and js. However, I just can't figure it out (not a developer...designer!) and there isn't just a simple html, css, js file to download showing how to say animate a DIV left to right.
The examples of how the library works...
I have a page with say 120 date boxes. I am using the validate plugin to validate those boxes on page submit. I have written some custom date validation code.
I use the jQuery.validator.addMethod() to create rules and then I use validator.addClassRules() to add those validations to my calendars.
Its running fine in firefox (at times) b...
Hello,
I am looking for a way to call successfully custom function from
submitHandler to do proper ajax post.
Here is my custom function:
jQuery.fn.submitWithAjax = function() {
this.submit(function() {
$.post(this.action, $(this).serialize(), null, "script");
return false;
})
return this;
};
Before using validate plugin I had follow...
Hi, take a look at this code:
$(document).ready(function() {
document.getElementById(sliderId).onmousedown = sliderMouseDown;
});
function sliderMouseDown() {
document.onmousemove = sliderMouseMove;
document.onmouseup = sliderMouseUp;
}
function sliderMouseMove() {
$('#test').html("sliding");
}
function sliderMouse...
Hi all.
I have a C# MVC application which is populating a dropdown based on a date selected. Once the date is selected I am sending it to an action via AJAX/jQuery. The action gets a list of items to return for that date.
Here is where my problem is. I have done it previously where I render a partial view from the action and pass it th...
Im pretty sure this has a simple solution. I am using jCarousellite, and i want to change the behaviour of built in nav buttons to fire on hover over.
$("#carousel").jCarouselLite({
vertical: true,
btnNext: ".btn-down",
btnPrev: ".btn-up",
visible:6,
circular: false
});
$("#carousel .btn-down").hover(function() {
$("#carouse...
http://portlandonline.com/shared/cfm/json.cfm?c=27321
It's returning null. I don't really have access to this. I have to have a server admin update the feed to my liking, so if you can tell me how to get this to work as is, without adding tags to my HTML please let me know. I will be using this with jQuery, and ive been trying to use g...
Project: http://design.vitalbmx.com/fave/news.html
When I click "Add to favorites" button (under main pic), in Chrome it animates UL,
while in Firefox and IE it does not work.
Can't figure out why it works differently. Please help.
...
Hi, I'm using this HTML,CSS and Javascript code (in one document together if you want to test it out):
<style type="text/css">
#slider_container {
width: 200px;
height: 30px;
background-color: red;
display:block;
}
#slider {
width: 20px;
height: 30px;
background-color: blue;
display:block;
position:a...
I have the password field on page. I want to display text "Enter password" on screen before entering password but on focus when user enter password it should go back to password type
EDIT: I am using Jquery as well so any small jquery solution will do
...
am currently studying jquery, can someone tell me the things that javascript native can do which jquery cannot ?
...
I need to use a Textile (preferably instead of Markdown), and am looking for a nice WYSIWYM (not WYSIWYG, because of this) JQuery editor.
I've seen these:
WMD - Markdown, Stack Overflow uses it
MarkItUp - Textile support but I don't know if it's WYSIWYM
WYMEditor
Which one supports both good HTML output and Textile?
...
WHy doesn't the drag box drop?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
#content {
background:#CCCCCC;
width:500px;
height:500px;
}
#drop {
height:200px;
wi...
Hello,
Can someone help me with this
I am trying to set and catch the url variable
It begins with a form wich has the standard action set to "/autorisation/logout"
Then a button with an inline javascript function
function tbPayout()
{
parent.location = "/autorisation/logout?rcgo=payout";
return true;
}
<input src="/images/go02.gif"...
I'm a noob in jQuery and have stuck at this. I have the following HTML code output from a PHP page:
<ul class="cats">
<li><span><a href="cant_post_link_yet1">Lifestyle</a></span></li>
<li><span><a href="cant_post_link_yet2">Entertainment</a></span></li>
<li class="has_child">
<span><a href="cant_post_link_yet3">Technology</a><...