On Apr 11, 2008, at 3:05 AM, Chris wrote:
My problem is that I cannot edit in
place the items submitted with the form plugin without refreshing the
page.
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F
--
Mika Tuupola
The above code has some error.
Here is my final solution: write another plugin to get the date.
HTML:
div id=dateRange
Plan Date: input type=text id=eventFromDate/ to input
type=text id=eventToDate/ br/
Actual Date: input type=text id=actualFromDate/ to input
type=text id=actualToDate/
Hi,
I'm relatively new to using JQuery so maybe making a newbie error bt
can't see where.
I've installed the JQuery Cycle Plugin on the homepage of a website
I've built and it works perfectly in Firefox, Safari, and IE7 but it
crashes IE6.
I have used this plugin before and it
what is the best way to learn jquery? quickly and easliy
In my current application I was working with jquery ajax api with
ifmodified enabled. This was working great for me and I was using 304s
to my heart's content. In a particular case, the server side
application was returning a Http code 200 but was not setting the Last-
Modified header. Because of
Hello guys,
recently I faced problem with index function, example in documentation
works perfectly but it's slightly simple. When I try to use this
function in more complexed way it's not working, here's what I'm
trying to:
$(#organize ul).mousedown(
function(e){
$(.highlight).removeClass;
The selector $('.highlight') is choosing all your objects that have
the class 'highligh'. removeClass still needs to know what class to
remove (ie, the method removeClass doesn't know how or why you
selected those particular elements). It takes the class name as an
Hi all,
I've a newbie question about variable scope...essentially i've two
anonimous function and i need to retrieve a variable
generated into first function and use it in the second one.
Here the basic code to get an idea of what i'm trying...
var pointX ;
Hi,
I'm relatively new to using JQuery so maybe making a newbie error bt
can't see where.
I've installed the JQuery Cycle Plugin on the homepage of a website
I've built and it works perfectly in Firefox, Safari, and IE7 but it
crashes IE6.
I have used this plugin before and it worked perfectly
Hi there
I have noticed a very weird bug when using $.html() in IE6.
For example I have:
div id=content
pparagraph/p
ul
lilist item 1/li
lilist item 2/li
lilist item 3/li
/ul
/div
When I used
$(#content).html()
I get
pparagraph/p
ul
lilist item 1
lilist item 2
lilist item 3
/ul
Other other
Hi all,
I've a newbie question about variable scope...essentially i've two
anonimous function and i need to retrieve a variable
generated into first function and use it in the second one.
Here the basic code to get an idea of what i'm trying...
var pointX ;
Anyone have any thoughts on this?
thanks!
az
On Apr 9, 1:58 pm, az [EMAIL PROTECTED] wrote:
Hello,
As I discussed in a previous post (unresponsive script error
on long page with many clueTips) I'm trying to trigger clueTips
with a javascript function instead of binding the clueTips on
Hi,
Trying to get the jFrame plug-in to work but unsure how to use it.
(see: http://plugins.jquery.com/project/jframe)
I have set-up the follow div, i.e:
div id=content src=#/div and then make a call to:
jQuery(#content).loadJFrame(returnURL);
Have also included all necessary js libraries.
Awesome!
Thanks!
On Apr 10, 10:50 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
You could do this:
$('.highlight').removeClass('highlight').filter(':even').addClass('shaded');
The this keyword is useful only inside javascript code (it won't work in a
selector).
JK
-Original
Hello jQuery Team:)
Sorry for banal question, but I have not found answet to it in the
web.
So, I have simple html form and I want to validate it using jQuery
validation plugin. Everything is fine? but I want to change validation
event. In documentaion it is said that,
By default, forms are
Hi,
Shameful to admit but my first post is a request for help but here
goes.
I've been using the wonderful jQuery plugin: Tooltip from
bassistance.de but I haven't been able to get it working for disabled
form input fields. I don't know whether this is an issue with HTML in
general not being
Hi all,
I've a newbie question about variable scope...essentially i've two
anonimous function and i need to retrieve a variable generated into
first function and use it in the second one.
Here the basic code to get an idea of what i'm trying...
var pointX ;
$(this+':even').addClass(shaded);
Jeff [EMAIL PROTECTED] wrote:
'scuse me for the noob question here...
i have statements like this:
$(.highlight).removeClass;
$(this:even).addClass(shaded);
And I don't think I'm using this or :even correctly; it doesn't work
=)
Googling has
Declare the variable in the same scope as each of those functions is
declared. For example:
$(function() {
var pointX;
$(.nav_slider).mousemove(function(e) { ... // set pointX here ... });
$(document).scroll(function() { ...// use pointX here... });
});
- Richard
Richard D. Worth
try this:
$li.parent().index($li)
The index method needs to be called on the container element (in this case,
the ul), while passing the child element.
- Richard
Richard D. Worth
http://rdworth.org/
On Fri, Apr 11, 2008 at 4:48 AM, hex0id [EMAIL PROTECTED] wrote:
Hello guys,
recently I
Hi,
I am building an HTA (using IE6) that is using jQuery to write some html to
a div. The html contains a script tag with content.
What (as I understand by reading through the minified code) jQuery does, is
filter the script tag, create one, add it to the head and remove it right
after. That
Ahh...Very nice Mike. Now if I start on slide 5, and hit the previous
button, will that display slide 4, then slide 3 ,etc.?
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: Thursday, April 10, 2008 5:08 PM
To:
That did it Mike. I like you...you've got the answers to all of my
questions, AND you already put in all of the features I request into Cycle.
So is this some sort of space/time warp? If I request a feature, will it
already have been in there before I even thought of it? Or is the very act
of my
That did it Mike. I like you...you've got the answers to all of my
questions, AND you already put in all of the features I request into Cycle.
So is this some sort of space/time warp? If I request a feature, will it
already have been in there before I even thought of it? Or is the very
Nobody have this requirement? Cound anyone show me some light on how
to deal with an uncloseable blockUI window please?
On Apr 7, 1:40 pm, Jiming [EMAIL PROTECTED] wrote:
Dear sir,
From time to time, we might have code which usingblockUIthat cannot
unblock-ed properly. In that case, user
I want to redefine a function that is being bound to document.ready by
someone else. Actually, I'd prefer just to unbind the function, but
the initial binding is in a file that I don't want to change, and uses
this syntax:
$(theFunction);
I understand from
Hi Mike,
Thanks for replying. This is what I've done
I deleted:
codescript type=text/javascript$('#s1').cycle('fade');/script/
code
and put this in head
script type=text/javascript
$(function() {
$('#s1').cycle();});
/script
However, now the page doesn't even load before IE6
Hi Jörn,
I've put together some simplified example pages showing the two main
use cases I'm having a problem with. I created two versions of each
page, one using Validate 1.1.2, and one using Validate 1.2.1. The
1.1.2 example function properly, while the 1.2.1 versions don't.
Validating a
Hi guys,
I am creating a very simple data entry screen where a user can enter a
block of numbers then position them in the right columns of a table.
For example:
Col A | Col B | Col C | Col D
5 | 3| 12 | 14
9 | 4| 7 |
The first line is correct data but
Hi Mike,
Thanks for replying I am a newbie with this so appreciate your help.
I've changed my code now so that in head I have:
script type=text/javascript
$(function() {
$('#s1').cycle();
});
/script
and I deleted:
codescript
checl also these demos, seems it's like what you are looking for
BlockUI Plugin
http://www.malsup.com/jquery/block/#demos
On Apr 10, 5:07 pm, Mike Alsup [EMAIL PROTECTED] wrote:
I have to implement this scenario: in a web page all the stuff
contained in the web page must be blocked and
Can anyone pls assist.
Thanks.
Tony.
On Apr 11, 3:04 pm, tfat [EMAIL PROTECTED] wrote:
Hi,
Trying to get the jFrame plug-in to work but unsure how to use it.
(see:http://plugins.jquery.com/project/jframe)
I have set-up the follow div, i.e:
div id=content src=#/div and then make a call
Nobody have this requirement? Cound anyone show me some light on how
to deal with an uncloseable blockUI window please?
This is not something the plugin is going to do for you, but you can
roll you own. Here's a start:
$(document).ready(function() {
var t;
function loadDiv() {
Unfortunately, I am having problems with my server at the moment so I
could only test this locally. It still isn't working though. Now IE6
crashes before it loads any of the page.
I'm sure I'm missing something really obvious.
Well it's not obvious to me. What is the css for s1 and the
Hi az,
Unfortunately, I've completely lost the context for what you're doing
here. Do you have a page up somewhere that we can look at to see the
whole thing? That would be very helpful.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 11,
Hi,
I used the jQ validation plugin for this webpage -
http://research.emedtv.com/idiopathic-pulmonary-fibrosis-research/idiopathic-pulmonary-fibrosis-clinical-study-2.html
I love it!
But we have dependent questions - see what happens when you click yes
or no to the tobacco question. Those
Probably a book is the best solution... but if you are not sure yet
(about if you really like jQuery and want to learn it) you can find
some good tutorials online...
I think you already know this link... but anyway...
http://docs.jquery.com/Tutorials
Some of them are very well made and a good
Hey all, I've got the cycle plugin up and running in Firefox (mac/pc)
and Safari/mac, but It's not running in IE7 or Opera/mac.
I must have missed something. (I'm a css dev, but not great with js).
Would you mind having a peek to see where I must have slipped up?
I'm looking for a jQuery extension to show off artwork. Maybe 10 to
100 paintings. Maybe more.
There are so many jQuery extensions I need some help finding the
needle in the haystack.
Any recommendation appreciated.
Is there anything that will perform album cover flipping like iTunes?
You need to remove the trailing comma in functions.js:
pager: '#slide-numbers',
On Fri, Apr 11, 2008 at 1:38 PM, Andy Ford [EMAIL PROTECTED] wrote:
Hey all, I've got the cycle plugin up and running in Firefox (mac/pc)
and Safari/mac, but It's not running in IE7 or Opera/mac.
I must
Hi, I hope someone can help me with this. I've been reading jquery.com
tutorials and others online to try and create a sortable drag and drop
list which updates a mysql table using AJAX. After a few hours of head
scratching I finally got most of it, but I'm stuck on the bit that
passes the
The problem in the corner rendering seems to only come if there is a
delay in getting the css. This only happens in Safari 3.1 that I can
see. Here's a test case.
---
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://
The problem in the corner rendering seems to only come if there is a
delay in getting the css. This only happens in Safari 3.1 that I can
see. Here's a test case.
I guess that makes sense. The corner script tries to determine the
appropriate color for the corners that it rounds. In
On Apr 11, 2:02 pm, Mike Alsup [EMAIL PROTECTED] wrote:
I guess that makes sense. The corner script tries to determine the
appropriate color for the corners that it rounds. In this case it
would seem that the right corner color changes after the script has
run.
Any ideas why this would
perfect! Thank you so much for taking the time to look this over and
post your feedback. I figured it had to be something along these
lines, but I just couldn't find it. Interesting how the different
browsers handle things like this.
Thank you thank you thank you!
On Apr 11, 11:23 am, Mike
Chris Jones wrote:
script
$(document).ready(function(){
$(#list).sortable({
accept: 'item',
update: function(sorted) {
serial = $('#list').sortable('serialize');
$.ajax({
url:updatesql.php,
type:POST,
I've been successful keeping a couple tables in sync with regard to
the column widths for some time. Nothing fancy here; both tables have
the same number of columns and one table is the master with the data,
and the other is a header table. I set the column widths on the header
table to the
It's a bit off topic, perhaps, but using jQuery I want to get the
contents of a plain text file, and convert each line to a list item in
an ordered list. Being a designer, the regular expression syntax just
stumps me... \n\r\???
Can anyone nudge me in the right direction?
rolfsf
yeah, the other method of passing data via ajax is:
...
url: myurl.php,
type: post,
data: {variablename:value, variablename2:someJSValue},
...
you could declare an object that contains your arguments that you want to
pass in to updatesql.php like this:
var args = {}
args.name = John
Hi Scott,
The hash was a suggestion on another site. I have tried it without it as
well but no joy. If I alert the serial on success I get what I would
expect ie. item[]=2item[]=3item[]=10
At the moment the updatesql.php file is simply setup so if the page is
called it connects to the
Thanks Ariel, that's a way of exposing an external api that I hadn't
thought of.
-- jim
We're noticing that some users of Windows Vista are getting Javascript
errors and are not able to use our site. Is it possible to use jQuery
to detect when there's a Javascript error and then display our own
customized alert statement to help them fix it?
Chris Jones wrote:
The hash was a suggestion on another site. I have tried it without it as
well but no joy. If I alert the serial on success I get what I would
expect ie. item[]=2item[]=3item[]=10
[ ... ]
data: serial.hash or data: serial, = nothing gets updated.
data:
You can use plain vanilla Javascript try/catch to catch the errors.
That being said, you should probably track down exactly what the errors are,
and try to eliminate them. Testing in IE6/7 is important, as there are some
errors which do not show up in Firefox (trailing commas are a big one)
Well, the problem was fixed by doing a Reset Internet Explorer
Settings which makes me think it's not a problem with our code, but
with the browser going wonky itself. I was thinking of using jQuery
to detect if there's an error and if the browser IE7/Vista and then
displaying an alert statement
Chris,
The hash idea that the other site was talking about is what I was telling
you in my previous post. I do this all the time:
function myFunction(email){
var args = {};
args.name = $('#nameid').val();
args.location = $('#locationid').val();
args.email = email;
line 1: var text = 'one\ntwo\nthree\nfour';//example
line 2a: var html = 'li' + text.split(/[\n\r]+/).join('/lili') +
'/li';
or
line 2b: var html = text.replace(/(.+?)(?:[\n\r]+|$)/g, 'li$1/
li');
line 3: $('ol /').html( html ).appendTo('body');//example
I advice using 2a.
Cheers
--
Ariel
Thank Ariel
So the first line creates a variable of all the text,
line 2a puts an initial li, and then splits the text at each line
break adding /lili, and finally adding the final /li
Line 3 wraps the whole thing in an ol (so jQuery automagically
closes the tag?)
thanks so much
rolfsf
On Apr
Hi, i hae the following code:
$(document).ready(function(){
$('#txtSearch').attr('value', 'Enter Search tags for skills or
functions').focus(function(){
$(this).attr('value', '');
showSearchBox();
})
});
function showSearchBox(){
Hi,
I am using the jquery cycle plugin for slide effects of images being
included dynamically to the website. Unfortunately, the images in the
hidden divs will not show in their original size once being showed
from the cycle script - just a icon size image is visible.
How can i change this to
$('ol /').html( html ).appendTo('body');//example
It is closed, not the ending slash.
I was just exemplifying, you can use innerHTML, or whatever you want.
Cheers
--
Ariel Flesler
http://flesler.blogspot.com
On 11 abr, 20:54, rolfsf [EMAIL PROTECTED] wrote:
Thank Ariel
So the first line
61 matches
Mail list logo