Hi Brian,
I get this
return "";
How come?
How to fix that?
Thanks
On Dec 20, 11:58 am, brian wrote:
> With the JSP include in place, when you view source and look at the
> javascript block, do you see:
>
> return "
> BlueWater
> RedFire
> GreenTree
> WhiteCloud
> ";
>
> ... or do you
Just start a session by default for any user. Once the user has logged
in, create a new session or simply write new values to it.
When the user requests a page, some code of yours must be evaluating
whether a login is necessary. Ergo, the URL is known to your script.
So, you can then write the URL
With the JSP include in place, when you view source and look at the
javascript block, do you see:
return "
BlueWater
RedFire
GreenTree
WhiteCloud
";
... or do you see:
return ""
If the latter, then your file is not being parsed correctly *on the
server* and this is not a jQuery is
There is no session yet; the user has not yet logged in. There is no
way to write the requested URL to a hidden input in the login form,
because the login form isn''t up yet - the user is visiting some other
page.
On Dec 19, 3:58 pm, brian wrote:
> I would do all of this server-side. Have your PH
It work if I code it as below:
$('#tonus').tooltip({
delay: 0,
showURL: false,
bodyHandler: function() {
return "
BlueWater
RedFire
GreenTree
WhiteCloud
";
}
});
I not sure why when I code it as
$('#tonus').tooltip({
delay: 0,
showURL: false,
bodyHandler: func
I would do all of this server-side. Have your PHP script save the
requested page in the session before redirecting to the login page.
Or, write the requested URL to a hidden input in the login form.
On Sat, Dec 19, 2009 at 6:16 PM, Vik wrote:
> Let's say a user visits my site, and takes an action
Let's say a user visits my site, and takes an action that requires him
to be logged in. I would like to:
- Take him to the login page
- Automatically return to the page he started from after he logs in
So I need to capture the current window.location, which is easy (var
returnURL = window.locati
Please share a live sample page showing the issue. If you don't have a place
to host one, use jsbin.com:
http://jsbin.com/
- Richard
On Sat, Dec 19, 2009 at 5:02 PM, Andre Polykanine wrote:
> Hello Richard and all,
>
> For some reason it doesn't work (IE8). Might it be due to the
> validation
Hello Richard and all,
For some reason it doesn't work (IE8). Might it be due to the
validation plugin?
Thanks!
--
With best regards from Ukraine,
Andre
Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @
jabber.org
Yahoo! messenger: andre.polykanine; ICQ: 191749952
Twitter:
Is it, thanks to normalization done by jQuery, as Mike mentioned.
- Richard
On Sat, Dec 19, 2009 at 4:18 PM, Andre Polykanine wrote:
> Hello Richard and all,
>
> Is that a multi-browser solution?
> Thanks a lot!
>
> --
> With best regards from Ukraine,
> Andre
> Skype: Francophile; Wlm&MSN: art
Hello Richard and all,
Is that a multi-browser solution?
Thanks a lot!
--
With best regards from Ukraine,
Andre
Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @
jabber.org
Yahoo! messenger: andre.polykanine; ICQ: 191749952
Twitter: m_elensule
- Original message -
I have a background sprite that I want to animate vertical on hover,
but it "pops" in vertically...but if I change it to horizontal it all
works fine...is there something Im doing wrong?
WORKS
$(".I1").hover(function () {
$(this).animate({backgroundPosition: '0px -10px'},
Hello Richard and all,
Thanks!
--
With best regards from Ukraine,
Andre
Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @
jabber.org
Yahoo! messenger: andre.polykanine; ICQ: 191749952
Twitter: m_elensule
- Original message -
From: Richard D. Worth
To: jquery-en@go
var lang = 'fra';
$('#lang option[value=' + lang + ']').attr('selected', 'selected');
or
var lang = 'deu';
$('#lang').val(lang);
- Richard
On Sat, Dec 19, 2009 at 3:35 PM, Andre Polykanine wrote:
> Hello Richard and all,
>
> Yepp, it works)
> and if I want to do the same with a select box?
>
Hello Richard and all,
Yepp, it works)
and if I want to do the same with a select box?
English
French
German
Say, I have it previously set to French.
Do I need to make a loop or I can do
it in the same simple way?
After the second one is loaded you can get back to the first one using
noConflict:
http://docs.jquery.com/Core/jQuery.noConflict
- Richard
On Fri, Dec 18, 2009 at 11:13 AM, Harsányi János wrote:
> I have two e107 plug ins which are using jQuery.
> The first one uses jQuery UI too.
> The problem
Hello Antti and all,
You just don't need to nest messages, they should be
overwritten:
inputfield_2: { // THIS IS WHAT I WOULD LIKE TO HAVE
required:"inputfield 2 required
message",
$("#utype" + t)
- Richard
On Sat, Dec 19, 2009 at 3:18 PM, Andre Polykanine wrote:
> Hello everyone,
> What I'm trying to do is to make a radio button checked depending on a
> variable gotten via PHP.
> Here's the code:
> // What radio button was checked previously?
> var t=;
> // Say it was 2.
Hello everyone,
What I'm trying to do is to make a radio button checked depending on a
variable gotten via PHP.
Here's the code:
// What radio button was checked previously?
var t=;
// Say it was 2. Then the id must be #utype2
$("#'utype'+t").attr("checked", "checked");
What am I doing wrong?
Mayb
I could also do this using Javascript. I know thats probably not the
most elegant solution, but it'd be interesting to implement and even
if I solved it with anything else, I would like to get this done with
jquery also.
So any other suggestions?
On Dec 19, 7:46 pm, brian wrote:
> You could use
It's been awhile since i used JSP but the first thing I'd check is if
the content was parsed correctly. When you view source, do you see the
content in the JS code or do you see the JSP tag? If the latter, your
JSP code isn't being parsed on the server.
On Sat, Dec 19, 2009 at 10:31 AM, HenryRock
You could use divs instead of a table. Or use a TD with
colspan=whatever and place another table inside of that (wrap the
table with the form tag).
On Sat, Dec 19, 2009 at 11:15 AM, oli wrote:
> .append($(":input",form).clone())
>
> This line does add all the input fields inside the "form" elemen
In your autocomplete plugin example (tags list): when a user types
some word and then select the right one from the suggested list by
keyboard - everything ok, BUT when he wants to select an option by
mouse - there is a big problem - the input field recieves th wrong
value. I have similar problem o
The tooltip plugin I refer to is http://jquery.bassistance.de/tooltip/demo/
One of the function is return a HTML tag.
$('#tonus').tooltip({
delay: 0,
showURL: false,
bodyHandler: function() {
return $("").attr("src", this.src);
}
});
Now I have a FIXED and LONG ( Table of
*Hello Pals,
I am Anes . A PHP Programmer from Kerala , in India. Friends Please Try
IE Developer Tool Bar... I think it's give some functonality as you
like Firebug Lite is also
good ... *Wish all happy X'mas and happy new Year
Regards Anes(anes...@amskape.com).
On Tue, Dec 15, 200
The tooltip plugin I refer to is http://jquery.bassistance.de/tooltip/demo/
One of the function is return a HTML tag.
$('#tonus').tooltip({
delay: 0,
showURL: false,
bodyHandler: function() {
return $(" ").attr("src", this.src);
}
});
Now I have a FIXED and LONG ( Table o
I'm using a Superfish menu for the top menu at the following site:
http://theratrike.com
The first-level menu has an image behind it and the default background
color for the list items was transparent, which made it look nice.
However, when you hovered over a first-level item to expose the sub-
m
.append($(":input",form).clone())
This line does add all the input fields inside the "form" element
(which actually isn't a ) to the generated one.
The thing is, that I have a table and need a for every row (but
not in a single column). or aren't valid.
So I'm looking for all input fields insi
Why don't you simply submit the form you are cloning from? It doesn't
appear to me that you're adding anything to the new form.
On Sat, Dec 19, 2009 at 10:57 AM, oli wrote:
> Hi,
>
> I want to collect some input fields that are already present in my
> DOM, generate a form with jQuery and submit i
Hi,
I want to collect some input fields that are already present in my
DOM, generate a form with jQuery and submit it. Everything works fine,
unless if one of those input fields is a type="file" field.
$(".trform .sendform").click(function(e) {
e.preventDefault();
var form = $(this).close
I would use:
$('a').click(function(){
var car_id = parseFloat($(this).attr('class'));
$('#' + car_id).show();
});
Haven't tested this, but should work if I read your description right.
Greetz,
Rick
On Dec 18, 1:57 pm, imot3k wrote:
> Hi,
>
> I'm making a website for a garage. In the car
I usually use this code:
$('#textbox_id').val()
But I don't know id it is different in .net
Hope this helps. Greetz,
Rick
On Dec 19, 11:48 am, suresh kumar wrote:
> I am using jquery block to show the popup window. In which the popup
> has two textboxes with two buttons. When user clicking th
I'm sorry I thought it was best to tell where to find the error...
On my page I include 'jquery-1.3.2.min.js', and the
'jquery.autocomplete.js' file.
I also include a file (search.autocomplete.php) that has list of words
to autocomplete which looks like this
"var autogemeenten = [ { text :'\'s-He
Ok, managed to get it working with:L
jQuery('#conference_order_box<%conference_id%>').cluetip( {
sticky: true, closePosition: 'title', arrows: true,
Hi,
I'm trying to make a shopping cart, and one of the features I'm trying
to do - is make it so when someone hovers over a "add to cart" button.
it loads a new mini-box (using the cluetip plugin) ... with the
"amount" of this item they want to add.
Now, this works:
without any code, it makes it virtually impossible for anyone to
help
that error (typically) means IE doesn't know what method you are
trying to call.. either its a bad reference, or sometimes it's because
the method name called is a reserved word (something FF will overlook,
but IE won't)
On
I am using jquery block to show the popup window. In which the popup
has two textboxes with two buttons. When user clicking the buttion i
need to get the value from two textboxe's and save it to the database.
But when i try to get the value it is nulll or empty string.
How can i get the textbox va
Hi!
Im quite newbie with jquery but so far i think it realy rocks. Anyways
im now trying to use Validation plugin but have one problem to solve
to get in job done.
My form has natrually many fields, each field can have many rules,
even custom rules. Trouble is that i cant find a way to overwrite
d
Hi there,
I'm using the autocomplete plugin of jquery with the Search Page
Replacement option. This works fine in FF and chrome, only in IE it
fails with the following error.
Message: 'text' is null or not an object
Line: 25
Char: 5
Code: 0
URI: http://www.openingstijden.nu/beta/index.php
Source
Erik,
Nice of you to post this lesson for others, but I hate to say you
could have saved yourself lots of time with one simple line of code.
jquery.noConflict();
http://docs.jquery.com/Core/jQuery.noConflict
This gives control of the $ namespace back to whichever library calls
it. By loading m
Oh, here's the link to the doc:
http://jqueryui.com/demos/datepicker/#event-beforeShowDay
On Dec 18, 3:13 pm, Mauricio Vargas wrote:
> Hi,
>
> I'm using the Datepicker that comes with the jQuery UI.
> I would like to keep some dates, in this calendar, checked.
> I'm bringing some dates in the fo
Hi,
I think you want to write a handler for the event 'beforeShowDay'.
>From the documentation:
"
beforeShowDay
function(date)
The function takes a date as a parameter and must return an array with
[0] equal to true/false indicating whether or not this date is
selectable, [1] equal to a CS
Hi all
I've been working on this all day today..I've followed this page, I'm
working on Website links + previews
http://james.padolsey.com/demos/imgPreview/full/
Here's my test which works OK
http://www.rockinghamgateway.com/test/index4.html
I'm trying to place the table into another page
http:
Hi Scott,
well - it actually has nothing to do with chained requests in general.
This chained request did the request on a whole different tag (on the
#option instead of fieldset), that was the problem.
Henjo
On Dec 16, 3:43 pm, Scott Sauyet wrote:
> On Dec 16, 4:14 am, Henjo wrote:
>
> > here
Hi Mike,
thanks for you reply. You are absolutely right.
Tunnel vision and tiredness are a great combi ;-)
Thanks!
Henjo
On Dec 16, 5:06 pm, Michael Geary wrote:
> I'm glad you fixed your problem, but I'm certain that the conclusion ("IE
> has trouble with a chained ajax call") is wrong. In the
45 matches
Mail list logo