Hey everyone,
I'm not familiar at all with JQuery and I'm not very good with CSS, but nonetheless I find myself working with it. So, basically here's my dilemma:
I have a simple jquery script where you click on an image and a little login box drops down using slideToggle. I took a script someone had already written to do this, but thei...
All,
I know this is stupid simple but...
I'm using jQuery. I'm getting an XML document like this
$.ajax({
type: verb,
url: url,
dataType: datatype,
success: callback
})
}
In my call back I want to update a div named ID="UpdateMe" with the result so that it looks like nicely formated XML.
This is my psudeo code for di...
Can anyone give a comparison of JQuery and the BBC's Glow JavaScript libraries?
...
I am working with the jQuery ScrolTO plugin: http://demos.flesler.com/jquery/scrollTo/ at this site: www.imfrom.me
I have the arrows to navigate up and down and as of now I am using:
$('.down_stream').click(function(){
$.scrollTo( '#stream', 1500, {easing:'easeOutElastic'} );
});
So on click of .down_stream go to #stream, aka t...
Hello,
I have a page with three rows of main information that all have a 'More Info' button attached, sort of like wefollow.com and their info button.
When the 'More Info' link is clicked a <tr> with a class of "mi" slides down above the main info.
The problem that I am getting is hiding the <tr> before the 'More Info' link is clicked...
Is possible with javascript/jquery to get the top position of an element?
The element is a table, if that matter.
...
I am using the jQuery UI components but having some problems. If I try and do something simple like $("#mydiv").draggable() I get an error message "Microsoft JScript runtime error: Object doesn't support this property or method".
The jQuery UI seems to be loaded because I put a alert() in the js file it contains (see code) and the alert...
I'm using the jQuery Fancybox plugin to create a modal window with the link's href as the content, and the title as its caption. I'd like to be able to have a clickable link in the caption (in this case to lead to a larger map) but I can't put an <a> tag into the title attribute. How might I go about putting this link in through Javascri...
Summary
jquery is used to retrieve search results via the get() call. When rendering the bulk of results there is no problem, but then when rendering part of the results, IE7 consistently hangs for 5-30 seconds before rendering.
Problem
The get() call in jquery successfully executes. There is no eval() or urlencode or decode on the da...
Probably error, my jQuery/JS isn't all that. Any ideas how to make this work? Currently it is correctly setting the background colour, but the height remains the same :(
<script type="text/javascript">
$(document).ready(function() {
var inside_height = $(".inside").height() - 500;
$(".artists").height(inside_height).css(backgrou...
I have a page where users can post questions. Whenever a new question is posted I am cloning the div , updating it with new values and then prepending the div on top of of all the previous divs.This is my code:
var lastDiv = $("#divAll div:last").clone();
$("[id$='_imgPostAll']",lastDiv).attr("ImageUrl",post.d.sImageURL);
$("[id$='...
Hi,
I'm using jQuery DatePicker and it shows wrong date for November, 2009.
You can see this in my sample page.
http://project-base-23.codepremise.com/door/test_calendar
Is this a known bug? How can I fix it?
Thanks.
Sam
...
basically what I want is simple, when people onclick, the field become editable.
After they change the value, press Esc at keyboard/ or click outside , to save the record.
I'm not sure why it's not working. Documentation seems not complete... Anyone got idea on how this work?
The documentation page: http://www.appelsiini.net/projects/...
I have a page with a form that is submittes via ajaxSubmit() (so, without changing the page).
My goal is that, when the user try to change page (or even to close the browser), i ask him if really want to exit the page without sending the form (exactly as gmail does).
Gmail for example do this with a window.confirm-like popup, but if it...
I would like to create a pagination system for comments in my website.So far, I have been able to create pagination using php/mysql and html but the page has to refresh every time we click on the next button(for the next set of comments) or previous or a particular page....
As far as my knowledge of jquery is concerned I am thinking th...
I'm working on a page where I need to associate a list of objects with a row of a table, and I'm using jQuery.
jQuery.data seems to just associate a piece of data with a key, whereas I need more like
id=4,setting=2
id=3,setting=1
...
I don't know how long the list could be, and it could be empty.
Is there a sensible way of doing thi...
I want to start unit testing my javascript files as part of my build process in an MVC application I am building using jquery and jqueryUI.
I know how to use qunit and jsunit but I want to try and get VS to run these tests and integrate the results into my build process.
Has anyone got any ideas on where to begin with this? General poi...
I'm trying to learn how to use oop in php. I'm also fairly new to jquery. Is it possible to make an Ajax request to a php class method? I've only ever sent Ajax requests to a file specifically for that purpose and that returns the data I need. Sorry if I haven't explained myself very well.
...
'<div id="'+div_id+'" class="widget" style="height:60px;width:110px">\n\
<div class="widget-head ui-widget-header" style="cursor:move;height:20px;width:130px">'+
'<span id="'+span_id+'" style="float:right; cursor:pointer" class="dialog_link ui-icon ui-icon-newwin ui-icon-pencil"></span>' +
dialog_title+'</...
Is it enough to avoid javascript injection validating input data in such way:
xssValidate = function(value) {
var container = $("<u></u>").text(value);
if($(container).html() != value) return mc.ERROR_INVALID_FORMAT;
}
I've managed to validate all the text fields and textareas values with the code above before submit them to s...