Hi all, Can you do a better code? I need to check/uncheck all childs according to parent and when an child is checked, check parent, when all childs are unchecked uncheck parent.
$(".parent").children("input").click(function() {
$(this).parent().siblings("input").attr("checked", this.checked);
});
$(".parent").siblings("input")...
First time i try out this service. Looks promising :D
I am trying to style an input-box that is being rendered by the jQuery-plugin jEditable.
What I basically want is to only change the color of the table-cell when the text is double-clicked and made editable. Like this:
This is where I am at the moment: jEditable CSS Problem ( dou...
Here is my question,
Would it be possible, knowing that classic asp support server-side javascript, to be able to generate "server side HTML" to send to the client like
Response.write $(page).html()
Of course it would be great to use jQuery to do it because it's easy to parse complicated structure and manipulate them.
The only prob...
What are the most recommended jQuery grid plugins out there? I've been messing around with Flexigrid which seems to be fairly decent. Are there any other noteworthy ones out there I should be looking at?
...
Often times when mixing jquery with asp.net I need to use asp .net angle bracket percent, <% %>, syntax within a jquery selector.
If I would like to seperate the javascript from markup into different files is there still a way to evaluate my javascript file so the angle bracket percents are interpolated before reaching the client brows...
Hey all,
I need to get the "td" element of a table. I do not have the ability to add a mouseover or onclick event to the "td" element, so I need to add them with JQUERY.
I need JQUERY to add the mouseover and onclick event to the all "td" elements in the table.
Thats what I need, maybe someone can help me out?
...
If I create a function with jQuery that adds an empty div, performs some animation inside the blank space created by the div, then removes the div, the browser never makes room for the empty div (height and width are set).
If I don't remove the empty div in my function, then the browser will create the needed space and everything works ...
I am wanting to use the Facebox plugin for JQuery but am having a few issues getting it running how I want. The div that houses the facebox content is created outside of the tag so even though I am loading up some web controls none of them are firing back to the server.
Has anyone dealt with this that can give me some pointers?
...
I have a table column that needs to be limited to a certain width - say 100 pixels. At times the text in that column is wider than this and contains no spaces. For example:
a_really_long_string_of_text_like_this_with_no_line_breaks_makes_the_table_unhappy
I would like to calculate the width of text server-side and add an ellipsis aft...
In implementing my first significant script using jquery I needed to find a specific web-control on the page. Since I work with DotNetNuke, there is no guaranteeing the controls ClientID since the container control may change from site to site. I ended up using an attribute selector that looks for an ID that ends with the control's ser...
I'm putting together a little tool that some business people can run on their local filesystems, since we don't want to setup a host for it.
Basically, its just HTML + Javascript (using jQuery) to pull some reports using REST from a 3rd party.
The problem is, FF3 and IE don't allow the ajax call, I get:
Access to restricted URI denied...
Hey all,
I have a "span" element inside a "table" "td" element. The span tag has a Title.
I want to get the title of that span tag and pull it out to make it the "mouseover" tip for the "td" element.
For example:
I want to turn this:
<td>
<a href="#"><span id="test" title="Acres for each province">Ac...
Does anyone have a good recommendation for a drop shadow jQuery plugin?
I've been working on a project that had every element on the page with a subtle drop shadow, we started using RUZEE to do the shadows but there was a severe performance hit when you had more then 4 or 5 shadows being calculated on the page.
I went to writing my own...
I need to add a tooltip/alt to a "td" element inside of my tables with jquery.
Can someone help me out?
I tried:
var tTip ="Hello world";
$(this).attr("onmouseover", tip(tTip));
where I have verified that I am using the "td" as "this".
Edit:I am able to capture the "td" element through using the "alert" command and it w...
The end() function in jQuery reverts the element set back to what it was before the last destructive change, so I can see how it's supposed to be used, but I've seen some code examples, eg: on alistapart (which were probably from older versions of jQuery - the article is from 2006) which finished every statement off with .end(). eg:
$( ...
I would like to upload a file asynchronously with JQuery. This is my HTML:
<span>File</span>
<input type="file" id="file" name="file" size="10"/>
<input id="uploadbutton" type="button" value="Upload"/>
And here my javascript:
$(document).ready(function() {
$("#uploadbutton").click(function() {
var filename = $("#file")...
I'm using the jQuery slideToggle function on a site to reveal 'more information' about something. When I trigger the slide, the content is gradually revealed, but is located to the right by about 100 pixels until the end of the animation when it suddenly jumps to the correct position. Going the other way, the content jumps right by the...
Any ideas on a good working sample application which uses MVC and JQuery together? Something like a starter kit. I am not into something that's "half baked" or a CodePlex work-in-progress type of app. I prefer a complete simple app than a more complex unfinished app. Also one which uses the latest MVC preview is a plus.
I hope I am not ...
When an Event is triggered by a user in IE, it is set to the window.event object. The only way to see what triggered the event is by accessing the window.event object (as far as I know)
This causes a problem in ASP.NET validators if an event is triggered programmatically, like when triggering an event through jQuery. In this case, the w...
Where is a good place to get started learning how to use jQuery? It seems to be all the rage nowadays, and I want be in on whatever the cool kids are doing. I know some basics of Javascript but I'm by no means an expert.
...