I'm working on upgrading a calender to AJAX so it is much
snappier, however i'm having trouble getting it to recognise my links.
I have created this function:
function loadContent(id) {
$(#imacalendar).load('inc/eventcalendar.php?event_date='+id);
}
Which is called into use
That's an invalid script tag. You can't use an empty script tag, it requires
a closing tag.
Also, you really don't want to be loading the .js file from googlecode.com
get from ajax.googleapis.com instead.
Try this script tag and see if it works better:
script type=text/javascript
Hi K-BL,
While it's a great app, I don't think it really fits into jQuery UI as
it is now.
jQuery UI serves core interaction components and widgets, but yours is
more a complete application, and I'm not sure if it's generic enough
to be
used in thousands of usecases.
It might be a great demo
Hi folks:
Does anybody have a nice trick for firing a callback function AFTER
$.post has completed it's actions?
I have a callback, but it either arrives at the same time or just
before the function returns the information to the actual html so it
keeps missing it. I've confirmed this
Hi All,
I have a working script that animate as wanted in Firefox but not in
IE.
I created 4 dialogs on the fly in the script using jQuery core and UI,
named I'm the Demo 0 to I'm the Demo 3!. In Firefox, all dialogs
behave well, but in IE7 only I'm the Demo 0 appears to be correct.
The script
Yes *date* is a stand in, so the code would be:
script type=text/javascript?
function loadContent(id) {
$(#imacalendar).load('inc/eventcalendar.php?event_date='+id);
}
/script
Then in the body:
a href=javascript:loadContent(2008-5);lt;/a
Like I say, it works if I make the
Hey,
I'm trying to select an element to change the background-color
property of it, but I fail to select it. The script runs at
http://stud.cmd.hro.nl/0794249/portfoliovx/ . In the left column,
there are horizontal rules with five blue blocks to the right. When
hovering over the second from the
I think this is the culprit...
i guess known issue with setAttribute that I didn't know about...
id, class and like 20+ other attributes are reserved words thus doesn't work
in IE7... although it looks like it's working... but it's not.
There are lots of work arounds out there, i hope I can
So if I use the min width and max width I should use min width set
to what looks good in the lowest acceptable display settings and then
set the max width to a good lookng width at the highest display
settings?? So then this would abjust inbetween these two numbers which
will show the website
Hi all
I'm using the async version of the treeview plugin by Jörn Zaefferer.
I'd really like the ability to dynamically add nodes to the treeview,
but am experiencing some difficulties in doing so.
Currently I've managed to get top-level leaf nodes added using the
following code:
function
Perhaps if you return some JSON and have your callback evaluate part
of it first, ie. testing if it returned an error from your processing
script.
If data.error is no, do this, if data.error is yes, do that... would
that work?
On Jun 22, 8:06 am, Vaska [EMAIL PROTECTED] wrote:
Hi folks:
Does
Hi all,
I'm having serious problems trying to animate a table row and have
tried loads of work arounds
In short, I'm trying to do a self healing transation following the
deletion of table content using an Ajax call. So, after the user
presses delete, the row shrinks in height and is then
Hi all
I'm using the async version of the treeview plugin by Jörn Zaefferer.
I'd really like the ability to dynamically add nodes to the treeview,
but am experiencing some difficulties in doing so.
Currently I've managed to get top-level leaf nodes added using the
following code:
function
Why don't you use jQuery for that ?
var $li = $('li /').attr('id', 'li_' +
this.nextCount).attr('class','bigbox_li');
--
Ariel Flesler
http://flesler.blogspot.com
On 22 jun, 03:52, James Chen [EMAIL PROTECTED] wrote:
I think this is the culprit...
i guess known issue with setAttribute that
a href=javascript:loadContent('2008-5');lt;/a
--
Ariel Flesler
http://flesler.blogspot.com
On 22 jun, 09:41, Hinch [EMAIL PROTECTED] wrote:
Yes *date* is a stand in, so the code would be:
script type=text/javascript?
function loadContent(id) {
I understand Safari's limitations, but saying it's compatible sets an
expectation that it (all of it) will work.
I consistently had Safari crash when trying to use the html() and
replaceWith() functions. If you're aware of Safari's issues and only
run the test suite in pieces, then it'd be nice
I believe you misinterpreted the statement by John.
The *entire* test suite passes in Safari. To overcome the memory
issues they need to break the test suite into multiple smaller sets of
tests and run those. If the entire suite is run it causes Safari to
crash due to the applications memory
So, finally made it and want to share my dirty-hack for toggling
flat-structures..
The problem was to toggle any content between to :header tags...
**
* Behandlung der Klicks auf die Überschriften (die Fragen)
* Hinweis:
*/
$( :header ).click(
function(){
var $start =
UP UP UP
On 19 Giu, 21:15, k8 [EMAIL PROTECTED] wrote:
uhm, i have try with submithandler on .validate({})
but don't work great the validation
this is my code
$().ready(function() {
$(#FormRegister).validate({
submitHandler: function() { alert(Submitted!); },
Just use jQuery methods to find the node:
var node = $(...).appendTo(#products .someNode);
...
Jörn
On Sun, Jun 22, 2008 at 2:25 PM, SirHoundalot [EMAIL PROTECTED] wrote:
Hi all
I'm using the async version of the treeview plugin by Jörn Zaefferer.
I'd really like the ability to
Please upload a testpage and post the URL here.
Jörn
On Sun, Jun 22, 2008 at 7:19 PM, k8 [EMAIL PROTECTED] wrote:
UP UP UP
On 19 Giu, 21:15, k8 [EMAIL PROTECTED] wrote:
uhm, i have try with submithandler on .validate({})
but don't work great the validation
this is my code
Im somewhat new to using jQuery and I am loving it so far. One problem
that I encounter is if you have a element, say, for example, that is a
button and on press a paragraph of text fades in. If you press the
button again, jQuery fades the text out.
Well this in fact works rather well, but the
Thank you so much! It works now. I didn't know that before.
Best,
yongning
On Jun 22, 1:13 am, Michael Geary [EMAIL PROTECTED] wrote:
That's an invalid script tag. You can't use an empty script tag, it requires
a closing tag.
Also, you really don't want to be loading the .js file from
Could you do something like this?
if(!$('#myElem:animated')){
!-- Animation code here --
}
You can read more information about the animated selector here;
http://docs.jquery.com/Selectors/animated
On Jun 22, 8:47 pm, anthonyb [EMAIL PROTECTED] wrote:
Im somewhat new to using jQuery and
$(this).parent().filter(.1) will do the following: Take 'this' element
(the one being hovered over in this case) and find its parent (singular -
one parent, in the example HTML you posted this is li class='extra'), then
filter the results (a single element) looking for one with class='1', of
Hello,
I know that is possible to use a button with class cancel to be able
to cancel and not validate.
But can I define another class?
Thanks,
Miguel
Hello,
How is the Minimized version of the validation script file created?
What tool is used?
Thanks,
Miguel
No, currently cancel is hardcoded.
Jörn
On Mon, Jun 23, 2008 at 12:45 AM, shapper [EMAIL PROTECTED] wrote:
Hello,
I know that is possible to use a button with class cancel to be able
to cancel and not validate.
But can I define another class?
Thanks,
Miguel
Jorn,
In all my posts I add [validate] on the subject but it never shows. Do
you know why?
Thanks,
Miguel
On Jun 23, 12:26 am, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
No, currently cancel is hardcoded.
Jörn
On Mon, Jun 23, 2008 at 12:45 AM, shapper [EMAIL PROTECTED] wrote:
Hello,
I
Hello,
I have the following rules:
$(#New).validate({
errorClass: Error,
errorElement: label,
rules: {Answer: {required: true}},
});
Applied to text area:
label for=Answer class=RequiredResposta/label
textarea name=Answer rows=10 cols=20
Thank you both very much for your replies :)
I also found this: http://www.phpbuilder.com/columns/jon_campbell20070525.php3
and I'm going to have to buy the book! I suspect I'll end up going
uh, is that all?
Better safe than sorry, eh?
Thanks again,
Cherry
On Jun 16, 4:58 pm, Pyrolupus [EMAIL
I'm a bit confused - are you talking about a form reset button;
input type=reset /
Or am I on the wrong track?
On Jun 22, 11:45 pm, shapper [EMAIL PROTECTED] wrote:
Hello,
I know that is possible to use a button with class cancel to be able
to cancel and not validate.
But can I define
I've got some pretty simple code:
[..]
$(.remove).click(function(){
$.post(index.php,{action:remove}, function(data){
$(#right).html(data.newContent);
}, json)
return false;
});
[..]
div id=#right
a class=removeremove it!/a
/div
[..]
Once
So I have an issue, I want to highlight the link which is currently
being viewed. The content is loaded via the LOAD method, but when I
click on the other links the added class still remains and highlights
them all. I want to highlight just the current loaded page and not the
others.
Here is
Dear David,
I do not know if this will help but you might try using a timeout of
say 250 ms which would means
that the page would have loaded. This however is not the best
solution.
Nandu
On Jun 22, 7:05 am, Sebastián V. Würtz [EMAIL PROTECTED]
wrote:
im getting some errors since i change to
Hello,
i am working a small site for a friend (http://www.kandulla.com/
animation).
I want to load different quicktime movies into a div using jQery.
Here is the code I came up with:
$('#subNav ul li a').click(function(){
$('#screen').load('movies/start.php', {'term': $
Ladies and Gentleman,
I have finally updated jqModal, and apologize for the ridiculous
delay. I am also pleased to announce that the plugin page has been
updated to include improved documentation.
jqModal is a tiny general-purpose windowing / dialog / popup / modal /
what-have-you
Nice Brice!
Rey
Brice Burgess wrote:
Ladies and Gentleman,
I have finally updated jqModal, and apologize for the ridiculous delay.
I am also pleased to announce that the plugin page has been updated to
include improved documentation.
jqModal is a tiny general-purpose windowing /
38 matches
Mail list logo