Hello
I was checking out HTML5 new javascript commands and there is something similar to:
var els = document.querySelectorAll("ul li:nth-child(odd)");
This allows you to find all elements by css syntax.
But I sure Jquery also has something a little similar to this.
The question is, as browsers are getting better javascript APIs...
...
I'm tring to make a price list like http://www.squarespace.com/pricing/ or like http://github.com/plans. Do you know if I can have that already built for programmer/webmaster ?
Thank you!
...
I have a request to only have the leaf nodes of the tree have the option of being selected.
This tree is being populated with the json_data plugin. Is there an option available either in the data or through the api to remove checkboxes or prevent them from being rendered?
...
I am trying to recreate the "Styles" section of the Office ribbon:
http://www.winsupersite.com/images/reviews/office2007_b2_06.jpg
I like how it starts out as only one row, then you can scroll through the rows, then click the arrow to expand all into a table like above. Does anyone have any ideas on how to recreate this whole interactiv...
I'm currently trying to use jQuery to fade a particular div which contains a few other child divs. I tought it would work but I think there is more to that... Can anyone help me out what's the best way to fade all the elements of the parent div?
Currently using the following, but only the background of the parent div is fading and the...
Is it a must to use the struts2-jquery plugin to be able to run jQuery code in a struts2 application?
I am working on a struts2 web app
jQuery file: WebContent/js/jquery-1.4.3.js
JSP pages location: WebContent/pages/*.jsp
THDFindYourQuote.jsp is the default page of the application:
I have a simple script in THDFindYourQuote.jsp
[scrip...
Dear all, consider this:
core.js:
var core =
{
all:{},
load: function(jsUrl)
{
$.ajaxStup({async, false});
$.getScript(jsUrl);
},
init: function ()
{
$.getJSON('someurl', function(data)
{
for(key in this.all)
...
Hi Everybody!
Well, i have a problem validating a form with jQuery. I'm Not using any validation Framework (Such as http://docs.jquery.com/Plugins/Validation), because i need to do this without any Pre-Builded Solution (It's an user requirement, Strange, by the way). I Have a Textbox, And I Need to Validate Any String, but, that string ...
Hi,
i have some problems with my site. it eats ram like a monster.
javascript causes that but i don't know what to do.
i use jquery framework and jwplayer(+some listeners)
how can I detect which code causes that?
...
I'm having trouble figuring out how to maintain my table stripes after adding new rows to a table. If I change the .insertAfter() selector to #names tr:last it works as I would expect, however using tr:first or tr:nth-child(x) results in the new row and all rows below it being striped. When looking at the updated DOM in Chrome's develope...
I'm creating a web-database driven offline web-app targeted at iOS devices. I'm trying to use jQuery Mobile, but I have a problem in creating the various forms.
The form options are taken from a database query, so they are inserted into the page after it has loaded, so the "jQuery-Mobilification" doesn't happen. Taking a quick look th...
I am trying to find an AJAX File uploader to use, I think i may go with this on below:
http://valums.com/ajax-upload/
The issue i am having is that i cannot figure out how to make a jQuery AJAX call when the uploader has finished uploading the file. Is this possible? I don't have to necessarily use this specific uploader.
...
$(function () {
var sr = 'section.row';
var fot = 'figure.one_third';
var pA = 'div.portfolio ul li a';
var item = ('sr fot pA');
$item.addClass('blue');
});
http://jsfiddle.net/G8yJj/13/ <<
...
I am using jquery validate with a form. I want to submit the form using ajax. When I put the ajax call in validate's submitHandler() The browser hangs. What's going on?
The error message I get when I enable the validate method's debug is:
uncaught exception: [Exception...
"Illegal operation on WrappedNative
prototype object" nsr...
Hi,
I am using the local database in web kit browsers and to get the data from the database I have the following code:
function synchronise() {
myDB.transaction(
function (transaction) {
transaction.executeSql("SELECT * FROM Patients;", [], synchroniseHandler, errorHandler);
}
);
With I am trying to do...
this is my website i develop http://alessandro.babonmultimedia.com/ when we clicked at contact (navigation at top), there will be contact us form loaded via jquery AJAX,
the question is:
when we click submit, it will sending mail.
this is work in Firefox 3.6.1, but in google chrome 7.0.517.41 the submit button do nothing..
why th...
This worked great when there was only one entry in the database, but add another and now I've got problems. Since I'm appending based on class names I'm getting every element appending to a single class. I don't know what to do in order to create two "blogHeadlines" with the appropriate content in each.
jquery:
$(blogEntries).e...
Hello, I'm looking to do the following
timestamp1 = Time.now?
timestamp2 = lastSave --- My func would be setting this
if (compare (timestamp1 to timestamp2) > 5 seconds
Any ideas on how to do this with JS? Thanks
...
i was looking at http://www.2shared.com and when you upload something it shows how fast the file is being uploaded, and other info. does anyone know how i can do this under php/jquery ?
ive used alot of loaders outthere and they dont work. most of them are under flash which i dont want to use.
...
Why in the following code the focusin event handler isn't called ?
HTML:
<div id='wrapper'></div>
<div id='button'>Click Here</div>
<div id='output'></div>
JS:
$(function() {
$('input').live('focusin', function() {
$('#output').html('focusin'); // Why this not happens ?
});
$('#button').click(function() {
...