Hi anny
I was using this in an old project
http://www.webunity.nl/js/framework/periodicalUpdate.js
I don't know if there is something better or if it's working with 1.2
El 18/11/2008, a las 22:53, anny escribió:
Hi ,
I tried ajaxsubmit which works fine. I need to submit the entire
Personally I find debugging jQuery a snap -- even on my current project
which is in excess of 25,000 lines of js code.
I will say that I stay away from the ASP.NET ajax system completely, all of
my hooks between jQuery and .NET are my own and I have had no problems.
The original AJAX.NET
Hi Klaus,
I came back to this problem after fixing other part of my
application ;). Finally I figured it out in this way:
var TabSolicitud = $('#SolicitudAguaTabContainer ul').tabs({
select: function(e, ui) { return false;}
}
And then, in the onclick event of tag link (a/a), I call:
Hi ,
you can try jQuery Timers. http://jquery.offput.ca/every/
I have done a sample:
javascript;
$(document).ready(function(){
$('#formLoad').everyTime(1000, function(i){
$('input[name=q]').val(i);
Hi,
When I want to send a param with line below:
jQuery('#details').load('?php echo $this-baseUrl
?/myController/myAction/myParam/' + param, {}, function()
{jQuery('#details').show();});
And if my param contains spaces, the param will contain the first word.
E.g.
param = 'hello world'
URL
I could fix it using:
param = encodeURIComponent(param);
debussy007 wrote:
Hi,
When I want to send a param with line below:
jQuery('#details').load('?php echo $this-baseUrl
?/myController/myAction/myParam/' + param, {}, function()
{jQuery('#details').show();});
And if my param
can we seen an example?
the_woodsman wrote:
Hi all,
I have a html page with a massive (200+ options) drop down:
select name=data[Something][country_id] id=someID
option value=1United Kingdom/option
option value=39Afghanistan/option
option value=40Aland Islands/option
etc etc!
By
Hi,everyone,
I try to do menu with animate efect, but it doesn't work on IE or work
in a strange way: animate height and margin, but not the colors,
or don't animate things in second function...?!! This is my function:
$(document).ready(function(){
$(.menuEffect).hover(function() {
Hi,
I'm quite new to jQuery and wondered if this was possible. I need to hide a
bit of content on a web page if the visitor is outside of the UK.
I'm wondering if jQuery can detect what language the visitors browser is set
to (e.g. 'en', 'en-us', 'fr' etc) and then hide the content is the
Better off doing this server side.
(antenna) wrote:
Hi,
I'm quite new to jQuery and wondered if this was possible. I need to hide a
bit of content on a web page if the visitor is outside of the UK.
I'm wondering if jQuery can detect what language the visitors browser is set
to (e.g. 'en',
Hello,
I have a requirement wherein the UI needs dynamic addition of
records into a ul list. Basically the requirement is something like
this http://devblog.jasonhuck.com/assets/infiniteformrows.html
But this is not index based, rather it is just navigating the dom by
parent reference.
However
Word of advice, you need to make an effort of separation between PHP
and JavaScript. Some good points: easier reading, debugging, and
extending existing code. We don't want spaghetti code.
Sincerely,
Will
On Nov 19, 1:38 am, propstm [EMAIL PROTECTED] wrote:
SOLUTION:
Because the PHP was in an
It was solved by adding encodeURIComponent :-)
They usually document what the ajax call provides to the server (and
should). I finally sorted it out enough to get it to work. The value
entered in the textfield is passed along as a parameter named 'q'.
The write up had mentioned the 'id' attribute of the field, leading me
to think the value
http://api.hostip.info/get_html.php?ip=w.x.y.z will return information
about the apparent location of an ip address. In PHP, this
demonstrates it's behavior
?php
$URL = http://api.hostip.info/get_html.php?ip=; . $_SERVER
['REMOTE_ADDR'];
$location = file_get_contents($URL);
echo You are located
This is my code
context = $('iframe', window.parent.$.modal.impl.dialog[0].data)
[0].document
its no work on IE 6 but the follow code is working normaly
context = window.parent.frames[0].document
could you helpme?
tks
Hi all,
I'm trying to make something fade in and out when I use toggleClass
to show and hide. I've been looking around for a while and can't see
if it's possible. Here is my code:
$(function() {
$(#topArea ul#profileLinks li.userEmail
form#signInForm).addClass(hide);
$(#topArea
Can't do an online demo at the mo, I'm afraid.
A screenshot from FF?
http://i421.photobucket.com/albums/pp298/elwoodcasey/dropdown_error.jpg
See how the options look different from normal text on the page!
On Wed, Nov 19, 2008 at 10:46 AM, Liam Potter [EMAIL PROTECTED]wrote:
can we seen an
Hi.
I have a problem with .post().
I try to send this str:
date=19.11.2008title=Input titledescription=Input
descriptionkeywords=Input keysbody=pTest/ppnbsp;/
ppg/p
post function:
$.post(http://bla-bla/post.php;,
str,
function(data){
$(#answer).html(data);
On Nov 18, 11:52 pm, rolfsf [EMAIL PROTECTED] wrote:
A friend had sent this rant in to microsoft, regarding jquery, which
is published on their developer site. Not being an asp.net developer,
I don't know what to make of his points. I'd be interested to hear
from some asp.net developers who
I don't see the point of using jquery for this, this is all possible
with pure css.
howa wrote:
Consider the code:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
html
head
title/title
script type=text/javascript src=jquery-1.2.6.min.js/script
You can get the user IP with PHP, store it in a variable and pass his value
for javascript... Just compare the value and manipulate the elements with
addClass() and removeClass()
2008/11/19 Liam Potter [EMAIL PROTECTED]
Better off doing this server side.
(antenna) wrote:
Hi,
I'm quite
I'd also disagree with these.
I'm developing an application using jQuery with a asp.net developer,
both of us having no problems at all.
Stamen Georgiev wrote:
On Nov 18, 11:52 pm, rolfsf [EMAIL PROTECTED] wrote:
A friend had sent this rant in to microsoft, regarding jquery, which
is
Hi Bhavin,
Why you are defining /saveTemplate.htm?dispatch=save in the action
parameter of your form whereas you have already the saveData action defined
in the click handler? Would you please delete the
action=/saveTemplate.htm?dispatch=save from your JSP page and let only
the click handle do
Thanks, that works great.
But, how do I add a callback to this now? Everything I've tried hasn't
worked.
On Nov 18, 8:25 pm, ricardobeat [EMAIL PROTECTED] wrote:
You have to pass the parameters in a second object, like in:
$('#gClone0').animate({top: -allH}, {easing:
Hello, I'd really be grateful if anybody would be kind enough to help
me with this.
This is my demo jCarousel site
http://www.redevolution.com/wrapper/carousel-test/
The thing is while the page is loading, you can see a plain list of
all the carousel items, which is very ugly Then after
Hi all,
I have a html page with a massive (200+ options) drop down:
select name=data[Something][country_id] id=someID
option value=1United Kingdom/option
option value=39Afghanistan/option
option value=40Aland Islands/option
etc etc!
By itself, this paeg loads fine.
When I try to ajax load
good solution.
No one has mentioned which one is the best method.
I am trying to learn jQuery this way.
On Nov 19, 3:33 am, donb [EMAIL PROTECTED] wrote:
Oops, overlooked the 'checked' requirement. The selectors can be
'stacked.' I just tried this and it works:
Hi,
I try to understand the code of your plugin, and i don't understand
where you define the toggle option ?
can you detail this option please ? Where is the link between callback
function and your code ?
help me please :)
On 10 nov, 15:02, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
In that case
Hi
JQuery validations is very good work.
i need how to display the error messages using effects(like fadein and
fadeout)
it is very urgent kindly help me
thanks for advance
Hi
if user should check the check box then un check the check box that
time i need to display the error message, currently is not working but
it is working fine all form fields except check box and radio button.
is it possible?
but once click submit then user can check and un check on checkbox
Hi folks,
I am trying to add an extra class to an element (an h3) if one of it's
classes matches with one of BODYs classes.
In pseudo code, I am trying to:
if BODY class includes triggerClass and H3 class includes triggerClass
then addClass foundMatch to h3
This is one of my quite-a-few
Animations currently aren't supported, and while on the roadmap,
nothing that will land in the near future.
Jörn
On Wed, Nov 19, 2008 at 2:33 PM, raj [EMAIL PROTECTED] wrote:
Hi
JQuery validations is very good work.
i need how to display the error messages using effects(like fadein and
you won't need the if statement.
$(document).ready(function(){
$([EMAIL PROTECTED]'triggerClass']
[EMAIL PROTECTED]'triggerClass']).addClass(foundMatch);
});
this will find the h3 with a class of triggerClass, found within a body
tag with the class of triggerClass and add the
Hi,
I'm trying to highlights elements of the page on mouseover. I want to
highlight all td's h1's and p's when the mouse is over.
$(td, h1, p).mouseover(function() {
$(this).css(backgroundColor, CC);
});
$(p, h1, td).mouseout(function() {
$(this).css(backgroundColor,
if they are all highlighted with the same color, surely you can't tell
if they both have the bg applied?
[EMAIL PROTECTED] wrote:
Hi,
I'm trying to highlights elements of the page on mouseover. I want to
highlight all td's h1's and p's when the mouse is over.
$(td, h1,
Hi, yes I think you've misunderstood my problem.
In a nutshell, there is an input type=text on tab 1. On load of
the form, I'm trying to make this input less wide and place an image
next to it. When tab 1 is the default tab, it works fine. When any
other tab is the default, it inserts the
that are inputs of type=checkbox, that have class=subscrCheckbox and
that are checked?
$(:checkbox.subscrCheckbox:checked);
is the best way.
--adam
On Nov 19, 8:16 am, Satyakaran [EMAIL PROTECTED] wrote:
good solution.
No one has mentioned which one is the best method.
I am trying to
Thanks SO much Liam.
This works but I was looking for triggerClass to flow from the classes
found in BODY (rather than being a static class defined in jQuery).
So if BODY had classes: classOne classTwo classThee and an H3 on my
page had a class of classTwo, then the script would spot the match
Hi,
Can I simplify this if statement?
if (test1 == 'a8' || test1 == 'b8' || test1 == 'c8' || test1 == 'd8' ..
I must select some values, the first is a letter and the second is a
number (always the number 8: a8, b8, c8, d8, ecc..)
Thaks in advance,
Alfredo
Hello,
Is it possible to validate a form only on button click and not as the
user types?
Thanks,
Miguel
Yes, using event related options:
$(#myform).validate({
onsubmit: false,
onkeyup: false,
onfocusin: false
});
$(#mybutton).click(function() {
$(#myform).valid();
});
Jörn
On Wed, Nov 19, 2008 at 4:56 PM, shapper [EMAIL PROTECTED] wrote:
Hello,
Is it possible to validate a form only
Hey guys, I'm re-doing a website and found this plug-in and an example
script that I liked. Well I implemented one section and all was good,
or so I thought... Past the first 2 sections, nothing works and it's
the flipping # in the a href tag in the slide.js script causing the
problems. There is
Hi, my name is Leandro.
Take a look on my site, i used a plugin, jquery validate a form and I
belive it's possible to combinate with effects. However, visit the
site of the plugin's developer, he can help you more.
my site: http://leandromedeiros.com
plugin:
I've created a panel that has two labels and a button. I want to
display it as a modal and have the button close the modal when
clicked. When I use the code below it does not display the panel.
Are there any examples on how to do this? Or plugins that will make
this easier to do?
Thanks
Tom
Hey All,
If anyone is around the Baltimore area on Nov 24th at 6:45 come and
see Benjamin Sterling from Kenzo Media (http://www.kenzomedia.com/)
give a presentation on the benefits using jQuery. Will be a laid back
enviroment great for socalizing and meeting other jQuery users in the
Baltimore
Hi,
With regular expressions you can simplify it :
For example,
if ( test1.match(/^[a-z]8$/) ) {
}
Pierre
Lily Tomlin - The trouble with the rat race is that even if you win,
you're still a rat.
2008/11/19 Alfredo Alessandrini [EMAIL PROTECTED]
Hi,
Can I simplify this if statement?
Assuming there's only a handful of characters that might be at the beginning
of the test1 string, you could use a regular expression, like so:
var test1 = 'a8';
if (test1.match(/^[abcd]8/)) alert('true');
Run those two lines and you should get an alert box saying 'true'. Change
I'm using a videofeed from YouTube. I want to show the thumbs and the
title of the video. If the user hovers the thumb or title a cluetip
should appear with the description.
I've managed to load the everything: the thumbs, the titles and the
descriptions. I'm stuck, however, on getting the
Hi,
Is there any way to round the value of a variable to the next decimal place?
For the project I'm working on I need to round up the figure regardless of
whether it is nearer to the lower value. e.g. 3. would become 4.
Thanks for your help,
R
--
View this message in context:
I'm afraid I cannot help any further Alan, I'm still learning jQuery
myself .
I'd guess it would have something to do with storing the class of the
body in a var and of the h3 in a different var.
Compare these two var's and if they match continue to add the foundMatch
class to the h3.
I
and sorry for calling you Andy.
alanfluff wrote:
Thanks SO much Liam.
This works but I was looking for triggerClass to flow from the classes
found in BODY (rather than being a static class defined in jQuery).
So if BODY had classes: classOne classTwo classThee and an H3 on my
page had a
Hi,
In javascript, you have the Math object. This is the perfect solution for
your problem
Bye
Pierre
Lily Tomlin - The trouble with the rat race is that even if you win,
you're still a rat.
2008/11/19 less than zero [EMAIL PROTECTED]
Hi,
Is there any way to round the value of a
Very nice, thanks!
For some reason I assumed that next() would return the next element that
matches the selector, not just the next element *if* it matches the
selector.
I like your implementation of nextOf. It seems like it would be faster than
my nextAll alternative.
-Hector
On Tue, Nov 18,
Hey Liam,
No worries! And I have been called a lot worse than 'Andy' ;)
Good luck in your learning of jQuery too - it is brilliant and I am
just greedy to know much more too quickly ;)
Cheers, -Alan
On Nov 19, 11:07 am, Liam Potter [EMAIL PROTECTED] wrote:
I'm afraid I cannot help any
This may be a little longer but it checks each body class individually:
$.each($(document.body).attr('class').split(' '), function(class)
{
$('h3.' + class).addClass('foundMatch');
});
-Hector
On Wed, Nov 19, 2008 at 8:30 AM, alanfluff [EMAIL PROTECTED]wrote:
Hey Liam,
No worries! And
Math.ceil() should do the trick:
Math.ceil(3.); // 4
Math.ceil(3.0); // 3
-Hector
On Wed, Nov 19, 2008 at 8:22 AM, Pierre Bellan [EMAIL PROTECTED] wrote:
Hi,
In javascript, you have the Math object. This is the perfect solution for
your problem
Bye
Pierre
Lily Tomlin - The
Hi Hector that worked awesome.
For anyone that comes across this in a search here's the final code
with the FORMS plugin:
$(#question input[type=submit]).click( function(event) {
var element = ( event.target ? event.target :
event.srcElement );
Just wondering if anyone can point me in the right direction for
something that works a bit like the image navigation in Photoshop?
I'm working with a large image and need a way for a user to be able to
zoom it in and out and view the large image in relation to a
thumbnail.
The magnify plugin
Great, thanks for the help.
Hector Virgen wrote:
Math.ceil() should do the trick:
Math.ceil(3.); // 4
Math.ceil(3.0); // 3
-Hector
On Wed, Nov 19, 2008 at 8:22 AM, Pierre Bellan [EMAIL PROTECTED] wrote:
Hi,
In javascript, you have the Math object. This is the perfect
Do you have to use percentages?
I have a feeling an exact width in px might help.
I've tried using an exact pixel size and still had the same problem.
It definitely appears to be a rendering issue with FF2, but I thought
maybe there's a work around. Oddly enough, since I've removed the
Is it possible to create an animated resize of an element without
affecting the layout of the parent element table?
I'm using jQuery 1.2.6 and possibly personalized jQuery UI, if
necessary.
Hello, this is my first topic here, so I hope that I'm doing the right. I've
done a search on google and on this forum without finding anyone with the
same problem as me, but maybe I'm not looking for the right keywords.
Here is my problem : I've created a very simple script that checks if a
Are 'slow' 'normal,' and 'fast' the only three values possible for
speed: '___'? I would like the animation to go a bit faster than it
does with the 'fast' setting, but I don't want to lose the animation
altogether. Can numbers be used? If so, what are they? Milliseconds?
I have been searching on the net for 5 hours already but can't find an
answer.. PLEASE SOMEBODY HELP ME!
the firebug is giving me this error:
XML filter is applied to non-XML value (function (selector, context)
{return new (jQuery.fn.init)(selector, context);})
this was just the only jQuery
I'm a newbie to jQuery, but I've been working with the Ajax function
to process form values, using a javascript confirmation, and although
the alert message works, it keeps putting a \ character before the
message.
For example, my code in my form check form is as follows:
$.ajax({
type: POST,
use absolute positioning and set the parent element to relative.
vani wrote:
Is it possible to create an animated resize of an element without
affecting the layout of the parent element table?
I'm using jQuery 1.2.6 and possibly personalized jQuery UI, if
necessary.
use numbers, but with no quotations,
1000 = 1 second
zdislaw wrote:
Are 'slow' 'normal,' and 'fast' the only three values possible for
speed: '___'? I would like the animation to go a bit faster than it
does with the 'fast' setting, but I don't want to lose the animation
altogether. Can
I'm looking for a way to adjust the height of an underline element.
Specifically I'm not looking to do a border-bottom CSS attribute and I
was wondering if there is some method in JQuery that could style a CSS
element that cannot accept values.
For example I could do the following:
h1
Sounds like you want a sticky hover.
- Original Message -
From: jonhobbs [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, November 19, 2008 12:17:55 PM GMT -05:00 US/Canada Eastern
Subject: [jQuery] Detecting a click off an element
HI,
I'm trying to
Thanks Liam, that did the trick.
FWIW, I also found the values in jquery-1.2.6.js that define these
test speeds:
speeds:{slow:600,fast:200,def:400}
On Nov 19, 12:16 pm, Liam Potter [EMAIL PROTECTED] wrote:
use numbers, but with no quotations,
1000 = 1 second
zdislaw wrote:
Are 'slow'
Thanks for the reply, Karl. I'll keep watch for your inevitable
update, whenever that may be.
Adam
On Nov 18, 12:17 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
Hi Adam,
I tried to allow for animating out but wasn't able to pull it off,
probably for reasons similar to those that Joel Birch
HI,
I'm trying to make a layer popup when you focus on a text box. That't
the easy bit though and I've managed to do that.
I now want the layer to disappear if the user clicks anywhere on the
page EXCEPT on the layer, or the textbox they clicked into.
I'm struggling to think of how to do this.
just also create a transparent fullpage overlay, so when a user clicks
on the page (actually the div overlay) you can do something like
$(div.overlay).click(function () {
$(.classname).hide();
});
jonhobbs wrote:
HI,
I'm trying to make a layer popup when you focus on a text box.
no.
Whats wrong with using the border-bottom?
Pete wrote:
I'm looking for a way to adjust the height of an underline element.
Specifically I'm not looking to do a border-bottom CSS attribute and I
was wondering if there is some method in JQuery that could style a CSS
element that cannot
I ran into this same problem today and wrote up this quick plugin that
accepts a boolean or function:
$.fn.extend({
showIf: function(fn)
{
var result;
switch (typeof fn) {
case 'function':
result = fn.call(this);
break;
default:
result = fn;
}
if (result) {
$(this.show());
} else {
Oops, fixed a typo:
$.fn.extend({
showIf: function(fn)
{
var result;
switch (typeof fn) {
case 'function':
result = fn.call(this);
break;
default:
result = fn;
}
if (result) {
$(this).show();
} else {
$(this).hide();
}
return $(this);
}
});
-Hector
On Wed, Nov 19, 2008 at 9:29 AM, Hector
What's wrong is that I'm using sIFR to style the font. So using
border-bottom styles the block element across the page instead of
underlining just the text.
There is an underline method in the sIFR plugin that I'm using, but it
also does not allow for height.
On Nov 19, 10:29 am, Liam Potter
I'm very surprised by his comments. We always rely on jQuery to get
grips with the monster that is ASP.Net+AJAX.Net, regardless of project
size.
jQuery's extraordiary convenience requires a slightly different
mindset from conventional .net languages (one that I miss on the
server side!) so
Hi Donald,
I can't help feeling that if I google sticky hover I might not like
what I find but I'll give it a go.
Thanks
On Nov 19, 5:19 pm, Donald J. Organ IV [EMAIL PROTECTED]
wrote:
Sounds like you want a sticky hover.
- Original Message -
From: jonhobbs [EMAIL PROTECTED]
Liam,
That sounds interesting, presumably my popup will be the only thing
with a z-layer higher than the overlay so the overlay wouldn't receive
the click event if the popup was clicked?
Jon
On Nov 19, 5:28 pm, Liam Potter [EMAIL PROTECTED] wrote:
just also create a transparent fullpage
That depends. If your popup is a child-element of the overlay, then clicking
the popup will fire the click event of the overlay.
So you should make them sibling elements:
div id=overlay/div
div id=popup/div
-Hector
On Wed, Nov 19, 2008 at 9:40 AM, jonhobbs [EMAIL PROTECTED] wrote:
Liam,
Thanks for replying, but I'm still having trouble making it work. I
tried to set the table to relative and img to absolute but it didn't
work as intended.
This is the layout of the table:
table
tr
tddivimg //div/td
tddivimg //div/td
tddivimg //div/td
/tr
/table
...I'm trying to resize the img
Yes, CSS can do this, you may find if your page uses floats, that this
may have problems, but this is the most robust solution I have seen
(cross browser) with CSS:
http://www.themaninblue.com/writing/perspective/2005/08/29/
Good luck! Cheers, -Alan
On Nov 19, 5:24 am, Liam Potter [EMAIL
Hey Hector,
Thanks lots for looking at this for me -- I tried it and it doesn't
seem to add the class.
A typo maybe? I've tried commenting out all my jQuery (not much) in
case it conflicted, but no change.
Thanks again very much, for your reply. Cheers, -Alan
On Nov 19, 11:35 am, Hector
The extra comma was indeed the problem!! Thanks much Mike!!
On Nov 18, 5:01 am, Mike Alsup [EMAIL PROTECTED] wrote:
[ 1, 2, 3, ] // IE chokes on the last comma
Mike
Oops, 'class' is a reserved word. I also had a typo in the function.. I
tested this code and it works:
$.each($(document.body).attr('class').split(' '), function(key, value)
{
$('h3.' + value).addClass('foundMatch');
});
-Hector
On Wed, Nov 19, 2008 at 10:00 AM, alanfluff
[EMAIL
i Have this traditional style js script
function Select_Value_Set(SelectName, Value) {
eval('SelectObject = document.' + SelectName + ';');
for(index = 0; index SelectObject.length;index++) {
if(SelectObject[index].value == Value)
SelectObject.selectedIndex = index;
}
}
Daniel,
Thank you for the reponse.
I tried this , but does not work. Firfox hangs at everyTime
(1000,. Do i need to unclude any jquery files for timer function?
right now i have only 2 files, form.js and jquery.js
$(document).ready(function(){
Hi all,
I'm trying to find a reference here and having troubles. Would really
appreciate if someone can point me to a tutorial.
Basically, I have a list of anchored links that point to content with
matching ID's on the same page. With Javascript on, I want to hide all
except the first when you
$(select).val(value); // for simple select
$(select).val([value1,value2]); // for select multiple
stephen
On Wed, Nov 19, 2008 at 10:15, Andrea - Aosta [EMAIL PROTECTED] wrote:
i Have this traditional style js script
function Select_Value_Set(SelectName, Value) {
eval('SelectObject =
WOW!
MuCH respect and thanks to you Hector.
I am most grateful (again!).
Cheers! -Alan
On Nov 19, 1:04 pm, Hector Virgen [EMAIL PROTECTED] wrote:
Oops, 'class' is a reserved word. I also had a typo in the function.. I
tested this code and it works:
Use a $ selector instead of jQuery
$(document).ready(function() {
$('#regpage h3 a').click(function () {
alert('hello');
return false;
});
});
On Nov 19, 10:53 am, DanDaBeginner [EMAIL PROTECTED] wrote:
I have been searching on the net for 5 hours already but can't find
I am trying to get blockUI to display a temporary alert that will last
for X seconds and then automatically unblock. I have be [EMAIL PROTECTED]@'ing
around with the pause plug in but I have never been able to get that
thing to work at all.
I am also using the forms plugin to process the form.
There's no need to shout, we can hear you OK. :-)
Take out the . after jQuery (in both places). Also add a semicolon at the
end for safety.
jQuery(document).ready(function () {
jQuery('#regpage h3 a').click(function () {
alert('hello');
return false;
});
});
A tip for
There is a problem with your syntax. There's no dot between jQuery and ().
jQuery(document).ready(function () {
jQuery('#regpage h3 a').click(function () {
alert('hello');
return false;
});
})
-Hector
On Wed, Nov 19, 2008 at 10:31 AM, c.barr [EMAIL PROTECTED] wrote:
Use
Hi Youssef,
I have constraint to use struts 1. action attribute is mandatory
with html:form tag. I can not avoid it. I think, struts 1 has
constraint to work with Ajax as per their framework specification and
that would be the reason Struts 2 has lots of changes... I would
appreciate if you can
Hi George,
Thanks for your response. I will see form-plug-in as per your
suggestion. But I doubt whether I would be able to interact with
Struts form using that.
Thanks,
Bhavin
On Nov 18, 7:15 pm, George [EMAIL PROTECTED] wrote:
I'll try to answer.
I do not know what 'struts' is. but you
Just to clarify, that code fixes the problem, but not because of using $
instead of jQuery. What fixed it was removing the two extraneous dots.
-Mike
From: c.barr
Use a $ selector instead of jQuery
$(document).ready(function() {
$('#regpage h3 a').click(function () {
Is it possible to have the sub-items of the menu go up, instead of
dropping down?
For example: putting a menu at the bottom of a page.
1 - 100 of 177 matches
Mail list logo