I have a multi-level drop-up menu composed of ordered lists within ordered lists. To create a slide-up effect I set a parent item to height:0 and the use .animate() to set its height up to full height (would use slideUp but I want it to expand up, figure should be the same).
I have for a particular parent menu node on hover:
$(this)....
Iam having a html table which has some number of rows say 17 rows .I have a small form with the fields which adds the form values to this html table . I have a unique field in the table say part number
I Have Two buttons named add and Update .When i click on "Add" .it Should add the part number with the appropriate form value(this i h...
Hi I've been playing around trying to recreate the way in which jQuery chains it's functions for it's "select" then "do" behaviour.
Note: I don't want to chain functions with jQuery, I want to chain them like jQuery.
So based on the jQuery code what I have so far is (doesn't work in IE):
var x = function(string) {
return new x.fn....
What are the various code-with-instant-preview (and auto-save) services out there?
http://jsbin.com/
http://jsfiddle.net/
...
How can i add anything user selected from dropdownlist to listbox using JQuery? and when i post the page i should be able to retrieve "id, name" from the listbox.
<asp:DropDownList ID="ddlPerson" DataSourceID="ods_person"
DataValueField="Id" DataTextField="Name" runat="server" Width="221px" /><br />
<as...
I have the following JavaScript code which is inside a function which I am trying to get the soft_left and soft_top variable to be used in other functions. I am having very little if any success. Shown is just the relevant code.
function drawCart()
{
$(".soft_add_wrapper").multidraggable({"containment":"#content"});
$(".soft_add_wrapper...
Does anyone know of a jquery css3 plugin that supports cross browser gradients. All the gradient plugins I've seen thus far are based on creating many elements.
Thanks.
Edit: Sorry for being unclear, I'm not trying to make CSS3 work on browsers that don't support it. I know I can use gradients on the browsers that support CSS3 gradient...
Hey, I have the following function:
function getPosition() {
var cLeft = $('#element').position().left;
var cTop = $('#element').position().top;
}
I also have this:
$('ul#container>li.node:eq('+XXX+')').css({'border' : '5px solid yellow'});
Now, is it possible to determine what index for the LI's is at the co-ordinates prov...
I'm trying to implement a timepickr element into my website, however it seems that the element will work ok in one section of a page, but not in another.
I reference the appropriate css files…
<link rel="Stylesheet" media="screen" href="ui.timepickr.css" />
<link rel="stylesheet" media="screen" href="jquery.timepickr.css" type="text/cs...
Hi guys,
I am trying to build a 3D Javascript array, but I am unsure of how to do it, basically I have 3 arrays, Provinces, Cities and Malls all in succession, so I want to create a 3D array to store all the data in and then write some jQuery/Javascript to get out what I need.
I have a script that can populate a drop down list with arr...
Hi,
What's the right way to get the total height of a div element? I'm trying this:
element.outerHeight(true);
but when I take a screenshot of my page, and measure the height (in pixels) of the element, it seems to be a few pixels taller than what element.outerHeight() is reporting. Is there a different way? I'd like to include all p...
I have a page with a header, footer, and middle area. The middle is 3 equal columns, each 33% width.
When a column is clicked, I'd like for that column to climb above the 2 other columns and get a width of 100%, and the 2 columns to redistribute to 50-50.
Is this sort of thing possible (and reliable) with jquery, or is it too much o...
Message: 'null' is null or not an object
Line: 912
Char: 5
Code: 0
URI: http://xenon.imanageproject.com/Scripts/fullcalendar.js
Thanks
jiwan
...
Hi,
I'm developing a site which serves some slow (up to around 4 sec. loading time) pages due to extensive database queries.
In order to let the users know that the new page is loading (also to prevent multiple clicks), I'm displaying a div with a fake loading bar on the page where the users clicked a link to a slow loading page.
Actu...
i have a multiple select tag
<select multiple="multiple" size="5" id="cities_select">
<option value="1">city1</option>
<option value="2">city2</option>
<option value="3">city3</option>
<option value="4">city4</option>
<option value="5">city5</option>
<option value="6">city6</option>
......................
Hi peeps,
Little help need with jquery sortable.
I have a nested list like so:
<div id="tree">
<ul>
<li class="n-1">root
<ul>
<li class="n-2">Academic
<ul>
<li class="n-5">Staff</li>
<li class="n-6">Courses</li>
</ul>
</li>
...
Hi guys,
I have a datepicker that is already set up, how can I access the datepicker instance for use in another part of my javascript. I plan to use the click event of an element, get the date of the datepicke and initiate a query via a url.
Thanks guys,
$(document).ready(function(){
$('#datepicker').hide();
<?php echo "$('...
Hello, I am trying to simulate the Youtube Autocomplete Search experience.
I can't find the option when the viewer clicks on a listed item and is automatically proceeded to search for said item.
My coding is as follow:
<script type="text/javascript">
var data = ['array1','array2'];
$(document).ready(function() {
$j("input#dire...
I'm working on MVC project and i using jQuery in view page to get data from controller.
public JsonResult CheckUpdate()
{
dt = dt.AddSeconds(-100);
IQueryable<Tweet> _tweet = ttr.CheckTime(dt);
return Json(_tweet, JsonRequestBehavior.AllowGet);
}
This is a method in my controller which gets data back from the repository class ...
This script takes the height value of each span element and applies it to its parent li element ( I wrote it to solve some float / layout issues). It works perfectly in Firefox and Chrome: after execution, I check the html and everything has worked alright.
However, in IE 7 and 8 (havent bothered trying with IE6, screw that) it doesnt w...