I am building a site and I have a list of status updates and I want to allow the users to write comments for each of of the items in the list
However I am trying to implement a UI similar to the way stack overflow works
specifically the collapsible comment form / list where a user clicks on add comment on the specific status update in t...
I'm not sure if this is a bug or just some crazy new thing in jQuery 1.3 that I'm unaware of, or if I've just gone crazy.
I have a table with 11 checkboxes in it, and I can't select them all using jQuery 1.3:
// jQuery 1.2.6
$(".myTable").find(":checkbox"); // finds 11 elements
// jQuery 1.3
$(".myTable").find(":checkbox"); // finds...
Hi All,
I am getting a bit tired of looking at unformatted json blobs in FireBug.
Does anyone know an equivalent to PHP's print_r() for jQuery?
Something that would recursively make a display string from an object or array, that I could display on the page for quick debugging?
Thanks!
...
Here is my Json data:
[{"ok" : false,
"details" : [{"n" : "Email",
"v" : "The email address you entered is not correct."},
{"n" : "NameFull",
"v" : "Please enter your full name."}]
}]
I found read sigle-level Json data is super-easy but for multi-level data like above I couldn't find a...
Hi friends,
I need to animate a square, just like move around with in a div.
Its should never stop until i meet a condition.
Please help me how to write this.. I could use some example...
...
hi i am trying to implement the code given for "jQuery Autocomplete and ASP.NET"
but unable to integrate it cause you are using subsonic to query database so can you tell me how to query sqldatabase and bind the query result to the plugin from webservice in asp.net using C#. please its urgent.
...
Hello, I want to suppress the web browser's default tooltip display when a user hovers over certain links and elements. I know it's possible but I don't know how. Can anyone help?
The reason for this is to suppress the tooltip for microformatted date-times. The BBC dropped support for hCalendar because the appearane of the machine-read...
I have been making a threaded comment system as a way to learn php and javascript/jquery properly. Ive done bits and bobs in the past but ive made a new years resolution to learn it properly.
Im having trouble inserting a reply form into the comment tree below the comment being replied to. I know this is probably pretty basic but how do...
Hi,
I have this little script to toggle a contact form when a button is clicked :
$(document).ready(function(){
$("#button").click(function () {
$("#form").toggle("slow");
});
});
All is working OK in Firefox, but in IE it seems like the toggle's fade-in effect doesn't gets 100% complete, and the text is being 'frozen'...
What I'm trying to do is pass parameters to a user control view which will update a div tag and render the new data based on a hidden user control there. I know how to update a div tag using the Ajax.Form() Helper Method but passing parameters and updating the partial control is beyond me. I've never used jQuery and looked up some tutori...
I'm working on an application that requires a text field to fade in with the value being loaded by AJAX. (I'm doing this all with jQuery), here's the code:
$("div#p"+eId+"_content").html("<input class='editPost' type='text' value='"
+ oldCont
+ "' id='p"
...
Say I have a div containing an unlimited number of child divs. Is there an easy way to get jQuery to select the nth div and every div after it so I can change those (in this case, call remove() on old divs)?
...
I have created a function outside of $(document).ready(), but am still using jQuery inside of it. For example:
testFunction(){
$('#test').hide();
alert('test');
}
When I call testFunction() after the page has completely loaded, #test is not hidden but I do see the alert.
What must I do in order to use jQuery inside of this functi...
I've got some elements that I'm moving across the page very slowly. Essentially, I'm decreasing the left margin of two images over a span of 40 seconds or so.
Visually, it's working beautifully. However, my processor jumps to about 50% usage during the animations. This isn't specific to any single browser either- it's the same way on S...
Are there any jQuery 1.3 animation-transitions that work in both Firefox 3 and IE7?
I have a table with multiple table rows (25 or more), with some of the rows starting hidden (these rows all share a common class; in this example, it's ".hidden"). In the table header is a "Show more" link which is bound via .click() to a function that w...
I am attempting to open/collapse sections of my site that are fieldsets with the click event on the legend tag. However I'm going to need to use a wrapInner to add a div inside the fieldset to hide the content...however this also hides the legend (which I definately dont want to do) :-). How can I use wrapInner but specify not to hide th...
How can I best combine JQuery with ASP.NET client side validation model?
I've generally avoided implementing ASP.NET validation model because it always seems overkill for what I was doing. For the site I'm working on now I'm just collecting non critical user data and only need somewhat basic validation. I dont want messages appearing in...
Dear All
I am using JQuery & javascript PHP, My Ajax.php just displays the
data ,test.php has assigns the value to javascript function.
My Problem is I not able to get the values that assigned by test.php, from getList(data).
is Any wrong in my logic ?.What to do to get the values assigned by test.php will be displayed ...
I have a simple html block like:
<span id="replies">8</span>
Using jquery I'm trying to add a 1 to the value (8).
var currentValue = $("#replies").text();
var newValue = currentValue + 1;
$("replies").text(newValue);
What's happening is it is appearing like:
81
then
811
not 9, which would be the correct answer. What am I doing...
How do I make the below function more dynamic for example commentLink and commentContainer will have an ID after them like this commentLink-2289 commentContainer-2289 because there will be multiple ones in a list.
Javascript
$(function() {
$("#commentLink").click(function()
{
$("#commentContainer").toggle();
if ...