hi , i'm just starting with jquery .
It is possible to load a page in the onload event or just calling the
load utility in a script
ex=$('#divCliente').load('proprietarioLogin.asp');
it's that i want to redirect to another page but i dont hnow how.
please help.
Hi!
I try to figure out how to enable caching for JSON calls. I used the
example and the jquery documentation but I have no idea where to put
the cache: true.
http://docs.jquery.com/Ajax/jQuery.getJSON#urldatacallback
code
$.getJSON(http://api.flickr.com/services/feeds/photos_public.gne?
I try to figure out how to enable caching for JSON calls. I used the
example and the jquery documentation but I have no idea where to put
the cache: true.
You don't need to explicitly set cache:true, that is the default
behavior.
And If I want handle to catch AjaxError in ajaxComplete?
Exist a way?
You can still use ajaxError to trap errors. Also, the XHR object is
passed to ajaxComplete callback as the 2nd arg so you can test for
success like this:
$().ajaxComplete(function(event, xhr, settings) {
var success =
Very body! I always have used ajaxError events.
The problem with ajaxError it's global event.
And I never see documentation about $.httpSuccess
Now I will try do like you said.
Thank you.
On 25 out, 10:33, Mike Alsup [EMAIL PROTECTED] wrote:
And If I want handle to catch AjaxError in
Ok, but it does not really work:
http://www.marctv.de/#moblog_teaser
code
// JSON mit URL und Parameter page aufrufen
$.getJSON(http://www.marctv.de/index.php?json_output_mob;, { page:
settings.cur_page },
// Diese Funktion wird aufgerufen, wenn die JSON-Daten angekommen
Its not a bug, but could be considered bad design. The first argument,
value, is the trimmed value. Using element.value should fix the issue.
Jörn
On Fri, Oct 24, 2008 at 10:50 PM, shapper [EMAIL PROTECTED] wrote:
Hello,
I am validating a password field as follows:
Ok, but it does not really work:
http://www.marctv.de/#moblog_teaser
What's the matter?
Is the server sending cache-control and last-modified headers?
This will work?
$.ajax({
type: POST,
url: some.php,
data: name=Johnlocation=Boston,
success: function(msg){
alert( Data Saved: + msg );
},
complete: function(XMLHttpRequest, textStatus) {
var success = $.httpSuccess(XMLHttpRequest);
if (!success) {
That works for when the field is focused by clicking in it, but now
when tabbing into it (even though the focus event does occur!)
Any other ideas?
On Oct 23, 3:57 pm, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
Try this:
$(...).autocomplete(url, {
minChars: 0
}).focus(function() {
On Freitag, 24. Oktober 2008, pixeline wrote:
May i ask you guys to have a look at my latest project,a bit on the
experimental side in terms of UI : a barcode image gallery for a
spanish photographer: http://www.pixeline.be/test/lisapram/
Sorry for my negative feedback but this site is close
This will work?
$.ajax({
type: POST,
url: some.php,
data: name=Johnlocation=Boston,
success: function(msg){
alert( Data Saved: + msg );
},
complete: function(XMLHttpRequest, textStatus) {
var success = $.httpSuccess(XMLHttpRequest);
if (!success)
It's been there for a few months already, I doubt anyone is
considering rolling back the old theme...
I don't know what your design background is, but the new style
certainly looks more up to date than the old 'htmlish' one. And things
are not all that different, everything is mostly in the same
hi all
i want to be able to drag elements and drop it, and then store the
location where it was dropped, so that i can make the drag drop
persistent.
i saw the jquery ui draggable library, but how do i get the dropped location?
thanks!
In case Remy Sharp is reading this:
jsbin is not working here.. when I try to save to a new URL, it goes
to http://edit/
Also, pressing backspace results in lag, using delete doesn't.
I turned your code into a plugin, and made some changes. Now you pass
an object with parameters and only need
You mean using:
$.validator.addMethod('password', function (value, element) {
return this.optional(element.value) || /^([a-zA-Z0-9]{8,24})
$/.test(value);
}, 'Use 8 to 24 letters or numbers only');
I have tried it before and I got the following error in Firebug:
element.nodeName is undefined
Ah I see. You can't fade a class. You need the animate() function
and jQuery UI (http://ui.jquery.com/), then you can do this:
$(document).ready(function() {
$('.button').hover(function() {
$(this).animate({ backgroundColor: '#AAFFAA'}, 500);
}, function() {
I have HTML similar to the following:
div class=asdf id=ghjk
a href=# class=linkred border/a
/div
Essentially I have a div with a link inside of it.
What I want to do is have the div selected when the link is clicked. I
need this done without referencing the class/id of the parent div.
So far
Hey everybody,
I'm trying to get a link to be highlighted on page load if another
element (in this case, an iframe) has an inline style of display:
block;.
This is what I've got so far:
$(document).ready(function() {
if ($(#clientA).is(iframe[style*='block'])) {
I'm new to jquery so be kind:
My problem is this;
I am trying to change the class of some links so that when I click on
one it becomes class sel (a particular background image), then when
I click on the next one, it becomes class sel and the previous one
returns to its before click state.
Hi Christoph,
thanks for the feedback anyway.
cheers,
alexandre
On Sat, Oct 25, 2008 at 6:27 PM, Christoph Haas [EMAIL PROTECTED] wrote:
On Freitag, 24. Oktober 2008, pixeline wrote:
May i ask you guys to have a look at my latest project,a bit on the
experimental side in terms of UI : a
For me it makes the difference between being able to use the site or not.
I've spent as little time as I could on the site since the redesign. The
black borders are very hard on my eyes, and I have a lot of trouble reading
small sizes of Trebuchet. (I know I can blow up the text with Ctrl+Plus,
I guess I should mention; when I say that I need to highlight the
links on-load, I mean that I need to highlight the link of the
corresponding iframe. That might have been implied, but clearing it
up just in case.
Resolved.
On Oct 25, 11:51 am, Jason [EMAIL PROTECTED] wrote:
I have HTML similar to the following:
div class=asdf id=ghjk
a href=# class=linkred border/a
/div
Essentially I have a div with a link inside of it.
What I want to do is have the div selected when the link is clicked. I
need
That wil only toggle the class for the clicked element itself. You
need to apply the changes to all of them. This is a bit redundant but
is the shortest solution:
$(document).ready(function() {
var $items = $(.accordion a);
$items.click(function(){
It's working again: http://jsbin.com/evodi/
On Oct 25, 4:18 pm, ricardobeat [EMAIL PROTECTED] wrote:
In case Remy Sharp is reading this:
jsbin is not working here.. when I try to save to a new URL, it goes
tohttp://edit/
Also, pressing backspace results in lag, using delete doesn't.
I
Something like this: http://jsbin.com/evoge/ ?
- ricardo
On Oct 25, 4:58 pm, jlgoolsbee [EMAIL PROTECTED] wrote:
I guess I should mention; when I say that I need to highlight the
links on-load, I mean that I need to highlight the link of the
corresponding iframe. That might have been
You don't need jQuery or Javascript at all to that:
meta http-equiv=refresh content=0;url=http://
www.newpage.com//
inside the head will redirect all users instantly.
If for some reason you need to it via JS you don't need to wait for
any event either, not even load jQuery:
head
script
I don't see the trouble with dark borders, is it the contrast that is
hard on the eyes?
I agree about the font and font-size though. Trebuchet has reduced
readability compared to Arial or Verdana. The code sample in the home
page is barely readable and I have perfect vision (in one eye at
least
...Wow... That's what I call COOL! It took maybe 30 seconds to load. The nav
is interesting (though somewhat confusing, but not too much)
Anyway, amazing effects :D
Windows XP, Firefox 3.3, Laptop
Alexandre Plennevaux-2 wrote:
Hi mates,
May i ask you guys to have a look at my latest
From: ricardobeat
I don't see the trouble with dark borders, is it the contrast
that is hard on the eyes?
Yes. :-)
But your eyes are not my eyes. Many people are not bothered by the dark
borders, but many are. There were a fair number of complaints about this
specific issue in the
With jQuery UI, you can also animate with .addClass() and .removeClass()
$(document).ready(function() {
$('.button').hover(function() {
$(this).addClass('foo', 500);
}, function() {
$(this).removeClass('foo', 500);
});
});
Hi,
I have just started using jQuery and am trying to get data back from
a mysql database in json format. I am using PHP to query the database
and returning it with the json_encode method. (Basically I am
following the example in the documentation -
I have small problem. Is there any code to reset multifile form on
submit. I am using jquery.js, jquery.form.js and jquery.MultiFile.js
for e107 plugin I work on. I make some modifications. I have only this
problem when I upload image is it posibility to reset multifile form.
input type='file'
Yeah; it's a different approach than what I was thinking, but from the
looks of it this is probably the right way to go. I'm new to jQuery,
and my javascript skills are a little rusty, but let me give this
approach a try.
Thanks!
On Oct 25, 3:23 pm, ricardobeat [EMAIL PROTECTED] wrote:
Here another approach:
http://jsbin.com/omefi
Maurício
It's working again: http://jsbin.com/evodi/
Awesome guys, thanks for the help here, both of these look more
effiecient that what I was doing.
I'm not in front of a Windows machine right now, so I can't test it in
IE, but how does that seem to preform there?
On Oct 25, 5:34 pm, Mauricio \(Maujor\) Samy Silva
[EMAIL PROTECTED] wrote:
Here
that looks great, Ricardo. I'm interested to hear why you chose to
write this:
var normal =
Number(this.find('a:first').css('paddingLeft').replace('px',''));
instead of this:
var normal = parseInt(this.find('a:first').css('paddingLeft'),10);
Is there an advantage to your line? I
I'm very new to jQuery and also don't have a lot of javascript
experience so this might be a FAQ but I haven't managed to find an
answer either way via searching.
I am trying to see if I can replace an existing activeX control with
some javascript. It doesn't do anything particularly complex. It
I have jquery ui tabs at the bottom of my page.
When a tab is clicked, the screen jumps/scrolls to top.
How can I prevent this?
Do you have an example to show?
That could/would help.
http://2whoa.com/dominate
--- On Sat, 10/25/08, bwallis42 [EMAIL PROTECTED] wrote:
From: bwallis42 [EMAIL PROTECTED]
Subject: [jQuery] full screen window
To: jQuery (English) jquery-en@googlegroups.com
Date: Saturday, October
You're right, you can't do that with JavaScript.
Flash, yes. (For example, the full screen mode on YouTube.)
-Mike
From: bwallis42
I'm very new to jQuery and also don't have a lot of
javascript experience so this might be a FAQ but I haven't
managed to find an answer either way via
Oh, so you can actually fade a class! Nice :D
I'm not very intimate with jQuery UI, sorry gerbert, thanks Karl :)
On 25 out, 18:57, Karl Swedberg [EMAIL PROTECTED] wrote:
With jQuery UI, you can also animate with .addClass() and .removeClass()
$(document).ready(function() {
43 matches
Mail list logo