hi everyone,
i am searching for a way to create a grid (from some kind of jquery grid plugin didnt choose one yet)
anyway i want to call a webmethod and return a json serialized from a List
of an object i created.
today i just use a regular grid view inside an iframe.
but i want to eliminate that iframe
and create those grids with aj...
Hi there,
I am using jquery(newbie for jquery) in my application. In short what I am doing: I have a home page, where user enters his name and gets results on the same page. So I wrote two functions in home.php , one for body load event another for getting user's result. I have "get_home_info.php" which will load on body's load event ...
I had populated data in TreeView control. How will I drag a particular child node from a parent node and drop the dragged one to a DIV or any portion, using JQUERY ? I know in jquery, there are methods "draggable" and "droppable" to make this possible. But I want to drag a particular child node and drop it.
Or atleast How to fetch the ...
my code is given below,all the required js files are included.
<?php
echo $this->Html->script('jquery');
echo $this->Html->script('jquery-ui');
echo $this->Html->script('jquery.validate');
echo $html->css('jquery-ui');
?>
when i submit the form without giving any value for UserDetailAliasName the form does not submit...
Should work same as it's working independently.
This
(function($) {
$(document).ready(function(){
$('#number1').hide();
$('.button1').click(function(){
$('.table1').slideToggle();
$(this).toggleClass("minus_icon");
return false;
});
});
})(jQuery);
and this
(function...
Is it possible to set the ajax timeout parameter using jQuery's get shorthand? If not, do requests sent with the shorthand ever timeout?
jQuery.get( url, [ data ], [ callback(data, textStatus, XMLHttpRequest) ], [ dataType ] )
thanks
...
Hello, I have problem with this piece of code:
var el = $('div#editor');
el.find('*[contentEditable]').removeAttr('contentEditable');
It works great in Chrome 4/5/6, but it doesn't work in FF (3.6.) or Opera (10.60).
In FF it throws this exception:
Error: uncaught exception: [Exception... "An invalid or illegal string was specified"...
I have a header that is larger than the width of the page so that I can't use position:fixed to set him on top of the page, because I absolutely need to be able to scroll horizontally. I don't think there is a CSS solution for this.
I made a sample of code to try to reproduce the effect of position:fixed, but there are undesired jumps. ...
I need to perform a function when a user comes out of focus. So far I can do it when they go into focus but how do I do it the other way round:
$("input.default-value").focus(function() {
$(this).css("color", active_color);
});
...
If you use append() to insert a new DOM node, is it possible to move the chain context to the new element?
This sample code illustrates the subject:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><title></title>
<script type="text/javascript"...
Hi
I have this map
I'd like to change the marker image, when zoom is greater then 5.
I know how to detect zoom change, but I don't see how to change the image.
...
I have an input
<input type="text" value="hello" />
and I want to get the value of this and using Jquery, save the value in an array.
How can I do this???
...
html
<div contentEditable="true">testing....</div>
jQuery
$(document).ready(function(){
$('[contenteditable]').removeAttr('contenteditable');
});
above codes is fine and working. you can feel it here.
Now, try this
$('[contentEditable]').removeAttr('contentEditable');
// notice the CamelCase of the string contentEditable
in...
I have a problem with jQuery moving Burt Reynolds face around on the page.
My code thus far is:
function moveBurt() {
$('.burt').animate('left' : "-=100px", 3000, 'linear');
}
But this isn't working :(
PLEASE HELP ME MOVE BURT REYNOLDS FACE!!
...
Hey all, i am in need of some help trying to figure out why this code is not working as it should:
$('#slickbox').hide();
$('#slick-show').click(function () {
$('#slickbox').show('slow');
$('#userSetupP').text('User Custom Panel (click to close)');
$('#slick-show').attr('id', '#slick-hide');
return false;
});
...
I have a table structure like this.
id | Name | ParentId
so for example:
id | Name | ParentId
1 | Alice | 0
2 | Bob | 0
3 | Charlie | 1
4 | David | 2
where 'Alice' and 'Bob' are Parent nodes( which has Id = 0) and Alice has a child node named 'Charlie' and 'Bob' has a child node named 'David'. My question is...
Hi,
I am using Jquery.
I have an xml returned from a webservice.
So I want to extract some value from it.
This is an xml example returned from webservice:
<ns3:ExecuteResponse xmlns:ns3="http://www.opengis.net/wps/1.0.0" xmlns:ns1="http://www.opengis.net/ows/1.1" xmlns:ns2="http://www.w3.org/1999/xlink" statusLocation="http://webse...
I have the follow code:
$("#headerimg" + currentContainer).slideUp(function() {
setTimeout(function() {
$("#headertxt").slideUp(100).css({"display" : "block"});
animating = false;
}, 500);
});
Now the pictures animate from bottom to top. But i want that the picture, slide from right to left. What in the code i must change?...
Hi can someone help me remove the white line just below my top banner.
In Firefox you can't see the line, but its visible in IE and Chrome.
You can see it here http://www.direkte-el.dk/default.aspx
Would prefer a JQuery solution, since its the only way I can change the layout.
Sorry the page is in Danish, but you should still be able ...
<td class="profile">
<% var usedColors = ViewData["usedColors"] as string[]; %>
<a class="profile-color" href="#" style="background: #c00; <% if (usedColors.Contains("#c00") && Model.Color != "#c00") {%>display:none<% }%>" id="color-c00">Color1</a>
<a class="profile-color" href="#" style="background: #3491c2; <% if (usedCo...