I download Craig Stunz's demo application from his blog and want to update it to the latest version of jQuery jqGrid but don't know how to get the current version in the source code. Please help!
...
Hi,
I have got a form with 2 dropdown lists on a simple HTML page. Depending on the value selected in the first dropdown list, a Javascript event handler(using the onChange event) changes the options of the second dropdown list.
When selecting a value in the first box and touching the second box in the browser window everything works f...
I've got it to work, and I have looked online and through the documentation, it's not very useful for some reason!
Given this code that works as expected:
<input type="text" id="color_input" />
<script type="text/javascript">
jQuery('#color_input').autocomplete('autoComplete.aspx');
</script>
What I can't figure out is how what t...
hi all,
i have an issue with jsTree and the issue is as follows:
I have draggable divs with resizable ability on my page basically you can sort them and resize them
Then i added a jsTree to the form which retrieves values using ajax and populates the tree using xml_data plugin
The issue is once the tree is loaded then the divs are not...
I need to select a specific grange of jquery elements based on there index using :eq() (or something else if you have a better solution)
my html structure is the following:
<ul>
<li>slide0</li>
<li>slide1</li>
<li>slide2</li>
<li>slide3</li>
<li>slide4</li>
</ul>
When the user hovers slides over the slide2 i need to select ...
I have a jQuery project where I open an iframe with scrollbars (scrolling=auto) in an overlay (boxy plugin) popup with an animation. When the overlay is closed I want the popup to tween and fade-out. So far so good, but while the size of the iframe is decreasing, the scrollbars suddenly appear before the whole thing disappears.
I tried ...
Hi,
How can i load the original image when the tumbnail version of the image has been clicked?
Im using ASP.NET in combinaton with javascript.
The original images are big, so they have been scaled on server side. This makes the site load faster. But somehow, both versions (original and tumbnail) of the images are being downloaded.
I'm...
Maybe kind of a stupid question, but i'm a beginner in jQuery and i'm trying to make a lightbox with a form in it. So far so good, but now i want to make a validation on the created form, but that's the problem. I create the form via the following method:
$("a").click(function(){
if(this.rel == "box"){
$("body").append('').append...
Hi
This is a problem i've tried so solve before but gived up.
Basicly i'm using ModalPopupExtenders (from AJAX.NET) to display Panels with a few content (text, controls, etc). And i'm calling it from codebehind. And it works well.
But now i want to replace the ModalPopup with some jQuery dialog box. The problem is calling it from code...
I have several .box div including short text (<p>) and a thumbnail. I'm trying to change opacity of text within a .box div when any part of the .box is hovered, but I don't want the image affected. So far I've got this:
jQuery(document).ready(function(){
$(".box").fadeTo("fast", 0.6);
$(".box").hover(function(){
$(this).fadeTo("fast", ...
Hi Guys,
Silly question 4 most, I guess, I'm trying to get my last li, which has an image for the background (a href) to look as if its a blinking image, changing from one colour to the next, its really just moving the background image from one position to the next, this is already working on hover using css, but id like to use jquery ...
I have created and hosted my WCF REST API Using WCF REST Starter Kit preview2. Which supports Dynamic Response and Request format type (XML and JSON).Everything is working fine if I consume the service in same domain through Jquery, Microsoft.Http.
My cs code is as following:
private void GetData()
{
string url = string.For...
<html>
<head>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
function insertParamIntoField(anchor, param, field) {
var query = anchor.search.substring(1, anchor.search.length).split('&');
for(var i = 0, kv; i < ...
The html:
<div id="videos">
<a href="javascript:loadAndPlayVideo('QXoIMTjk9Xg')"><img src="http://i.ytimg.com/vi/QXoIMTjk9Xg/default.jpg" id="thumb_QXoIMTjk9Xg"></a>
<a href="javascript:loadAndPlayVideo('nWubfMkDfVs')"><img src="http://i.ytimg.com/vi/nWubfMkDfVs/default.jpg" id="thumb_nWubfMkDfVs"></a>
<a href="javascript:lo...
Hi,
I'm starting with jQuery and trying to save myself lots of code in a form validation. I thought to put all the form fields in an array, use each() to loop through the array to see if the fields are empty and return errors (if necessary).
One problem; my approach doesn't work..
I use the following method
var fields = [ "$('#...
(function($){
$.fn.slideshow = function(){
function init(obj){
setInterval("startShow()", 3000);
}
function startShow(){
alert('h');
}
return this.each(function(){
init(this);
});
}
})(jQuery);
i...
How i can check is my visitor is logged in to Facebook?
I can use Social Graph api functions or similiar? I want to run conditional in Javascript on my page and display some content depending on that condition. If it's impossible - maybe i can check (via a:visited css or similiar) is somone visited Facebook recently? Thanks.
...
I ofetn find myself writing the same code in jquery for ajax stuff. Still i can't find a good
Reusable, centralized AJAX component based on jQuery...
Note:
One similar question i had asked before Reusable jquery ajax requests but it had some issues.
...
Could anyone help me with this problem?
Code zip is here: (link taken down)
I have made everything valid but Chrome still calculates the height of the elements completely wrong (9 in every 10 times...)...
Well, technically it does.
$(document).ready(function() {
function resizeIt() {
var extDiv = $('#exte...
Is it possible to create a jquery object that I can perform jquery functions on from just a string representation?
I.e.
var item = '<div>hello</div>';
???
alert(item.html());
I think I could do it by adding it to the DOM using append(), then reselecting it, but i dont really want to do that as it seems horribly ineffcient.
EDIT: Tha...