Hello,
I use this menu : http://www.stunicholls.com/menu/jquery-menutree.html
I piece of this menu is :
<li><a href="#url">MyItem</a></li>
I replace by this :
<li><%= Html.ActionLink("MyItem", "Index", "ControllerName")%></li>
I'd like show the result in "MyDiv"
<div id="MyDiv">
</div>
How can I do this ?
thanks,
...
What I want to do is: When each button is pressed, show it's respective value. Right now the value returned is always "1". The json.php file will eventually be used to update records in a database.
Any help would be greatly appreciated. Thanks!
Here's the json.php file:
<?php
if(isset($_POST['hidden'])) {
$data['value'] = $...
When using jquery's load function, the page freezes until it has loaded.
How can I get around that?
I have a script that makes all links load through ajax, into a div in the page. I also made it so that it would make another div reload (the navigator).
Whilst this is going on, another script refreshes every now and then, reloading ano...
jQuery objects act like arrays without polluting native prototypes.
How is this achieved?
I know it's not just objects with numeric keys - so perhaps it's just a matter of providing the respective methods (something like jQuery.prototype.indexOf = Array.prototype.indexOf).
I've googled and looked at the source, but couldn't find a defi...
I have a form with two buttons. I check which one is clicked at the server side using the name attribute of the element in the POST data and do stuff accordingly:
<input id="reply" name="reply" type="submit" value="{%trans "REPLY"%}">
<input id="delete" name="delete" type="submit" value="{%trans "DELETE"%}">
I'm trying to add a confir...
From the License
* Dual licensed under the MIT and GPL licenses.
* http://docs.jquery.com/License
Can i use jQuery for private commercial application? (meaning commercial applications that are not open source)
...
is there any options on jeditble so when i double click my text and the textbox pops up that it highlights all of the text
...
I'm trying to include cluetip in my GreaseMonkey script. To do this I've defined my userscript as follows:
// ==UserScript==
// @name myscript
// @namespace myscript
// @description This is my script
// @require http://plugins.learningjquery.com/cluetip/jquery.cluetip.js
// @require http://plugins.learnin...
Using the event click with live function leads to strange behavior when using Firefox*.
With live in Firefox, click is triggered when right-clicking also! The same does not happen in Internet Explorer 7 neither in Google Chrome.
Example:
Without live, go to demo and try right clicking
the paragraphs. A dialog menu should
appear.
With...
I want to give ALL (including ) cells of FIRST and LAST columns some specific classes, I tried this:
$("table tr:first-child td:first-child").addClass("first-col-cell");
$("table tr:last-child td:last-child").addClass("last-col-cell");
..but it doesn't seem to work.
Would appreciate any help. Thanks!
...
I need a jQuery calendar plugin where I can specify what dates are selectable but still show an entire month on the calendar.
...
Hello,
I am trying to write a simple dialog that is called by the flash image gallery on the site and appears on this flash animation but it works pretty weird under IE such as:
-sometimes showing several of the same item, how can I prevent opening dialog if there is one already existing?
-after opening a dialog and when trying to close...
I have two in a table with ids row_26 and notificationrow_26. notificationrow_26 is dynamically added to DOM after page has been loaded.
I want to highlight notificationrow_26. So I use
var deviceUID = 26;
$("#notificationrow_" + deviceUID).effect("highlight", {}, 3000);
but when I do this. It does not highlight that row. I also tri...
Here's what I'm hoping to do:
I want to send an ajax request to a file (preferably with jQuery), and once the file has been loaded, determine the size of the requested file.
After a bit of googling, it's clear that I don't even have a good idea of the right question to ask to figure this out. Any help would be greatly appreciated.
...
I'm using jQuery to parse an XML file, and I'm trying to push each element in the XML file to an array using a jQuery .each loop. Strangely, if I alert the value of the array within the loop it comes out as it should, but if I try to alert a value in the array after the loop has finished it results in "undefined".
Is there something st...
http://blog.posterous.com/
Click on the comments link.
Notice how the comments are loaded, kind of sliding down. ALso when you click on 'hide'.
...
I would be grateful if someone can help with with some javascript code. I have a content slider which can be found here:-
link text
This works fine but I would like to change the following code so that it pauses on hover. Any ideas?
<script type="text/javascript">
$(document).ready(function(){
$("#featured > ul").tabs({fx:{opacity: "...
I've had enough with jquery's slowmolasse animation.
I'm not an expert, but however jQuery internals handles animation is too slow for me.
What alternatives do you suggest?
I've read: http://sixrevisions.com/javascript/10-impressive-javascript-animation-frameworks/
But it would be nice to know SO's opinions on the matter.
Thanks!
...
When I try to use a sortable event . (For instance the stop() event) It only works when I bind it using :
$('.selector').bind('sortstop', function(event, ui) {
...
});
rather than
$('.selector').sortable({
stop: function(event, ui) { ... }
});
Is there a missing piece in this?
The only reason I ask is because when I bind using...
When I try to open window from a another window it not found.
jQuery-Windows-Engine-Plugin
Thanks!
<html>
<head>
<title>Test</title>
<link type="text/css" rel="stylesheet" href="jquery.windows-engine.css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.windows-engine.js"></scrip...