Hi,
I have a website with header, menu, content.
To change the content according to the menu clicked,
I use show() and hide() functions of jquery.
In Mozilla I got everything working,
but in IE6, the height won't adapt according to the content's length.
U can check it here :
http://matthew16.
It's not working :(
Hi, I am trying to use the Validation plug-in but I have the following error
:
missing } after property list
[Break on this error] rules: {\n
Here is the simple code :
$("#form_contact").validate({
event: "keyup"
rules: {
"lastname": "required"
Oh ! Thank you !
This comma was not in the first example of the plugin's author !
spinnach wrote:
>
>
> you're missing a comma after 'event: "keyup"', it should be ' event:
> "keyup",'
>
> dennis.
>
> debussy007
Hi all,
In my web application, the user is able to fill in a contact form, which
will send an e-mail on submit.
I am using the official Form plugin.
The form plugin is working perfectly in Mozilla, but not in IE6.
Check the foillowing example :
http://matthew16.free.fr/temp/contact-form.php
W
Hi,
I finally could debug my error.
It's the packed version of the validate plugin which generates me two
errors.
The js file which is not compressed is working fine in ie6
Thank you for your assistance malsup.
malsup wrote:
>
>
>> in IE6, a new page is opened, like the ajax is not w
Hello,
I have a problem to make this plugin running correctly for my web site.
I have been trying for 2 days now, and I'm hopeless, that's why I am looking
for a kind soul here who can eventually help me!
Here is a demo I made :
http://matthew16.free.fr/jcarousel/jcarousel.html
These are my s
ther have to wait for 1.2.1
> (which is scheduled for this weekend) or use the older version delivered
> with jCarousel.
>
>
> debussy007 wrote:
>>
>> Hello,
>>
>> I have a problem to make this plugin running correctly for my web site.
>>
>>
Hello,
I have put a timeout for the ajax request when submitting my form :
var options = {
beforeSubmit: showRequest, // pre-submit callback
success: showResponse, // post-submit callback
dataType: 'json',
timeout: 1
};
But the problem is tha
Hi,
I need to check if a textarea has any other element than
p,br,b,i,strong,em,ul,li,a and img.
If it has, add the class customMarkup on the textarea EXCEPT IF any of the
above elements contain ANY attributes.
I have only the first part of the requirement, I still don't check for
attributes ...
Hi,
I would like to have the previous TD element with class "time".
I tried : $(this).closest('td').prev('td.time').html() (where "this" is a
div element inside a TD)
But it only works for a div inside a TD that is *directly* following the
td.time element.
See the code below: my jquery se
Hi,
When I add the jquery.form.js plugin from malsup, my Yahoo UI TreeView won't
render anymore ...
There seems to be some conflict.
Is there any workaround for that ?
Thank you for any help.
--
View this message in context:
http://www.nabble.com/jQuery-Form-plugin-with-Yahoo-UI-tp24530556s27
The problem has been solved ... I forgot to close the script tag of the
plugin js inclusion ...
debussy007 wrote:
>
> Hi,
>
> When I add the jquery.form.js plugin from malsup, my Yahoo UI TreeView
> won't render anymore ...
> There seems to be some conflict.
> I
Hi,
When the user clicks on the submit button,
I would like to add some parameters to the form before submitting it
(standard post submit, no ajax)
How may I achieve this ?
Thank you for any help.
--
View this message in context:
http://www.nabble.com/How-do-I-add-parameters-dynamically%2C-r
Hello,
The following code below doesn't seem to give the expected result:
$('#aUsers option:selected').each(function() {
console.log('user: ' + $(this).val());
});
It will display the empty string.
--
View this message in context:
http://www.nabble.com/Get-the-value-of-the-option-elemen
Uhm ... for some obscure reason I got it working now ...
debussy007 wrote:
>
> Hello,
>
> The following code below doesn't seem to give the expected result:
>
> $('#aUsers option:selected').each(function() {
> console.log('user: ' +
Hi,
I execute a long task by an Ajax request, and at the same time I would like
to display the percentage of this task every second. The problem is that the
percentage will not display as the first request is slowing down the others.
Though ... they say Ajax is synchronous ...
The code is quite
Hi,
I try to connect on Youtube using the script below.
But I get the error message:
Access to restricted URI denied" code: "1012
Is there any way to bypass this issue ?
function login() {
var u = 'xyz';
var p = 'xyz';
$.ajax({
type: 'POST',
Hi,
I have a set of td which have id's like:
[...]
[...]
[...]
[...]
I would like to re-order them to have consecutive numbers,
what is the best way to achieve this ?
So far I have the code below, which iterates through all td's:
$('td[id^=order]').each(function(i) {
tdId = $(this).att
Hello,
I submit my form with the $.ajax method and passing it the serialized form.
But what about the images inside the form ?
Thank you for any help.
--
View this message in context:
http://www.nabble.com/Submit-form-with-serialize%28%29-question-tp24078650s27240p24078650.html
Sent from the
Hi,
it seems that my success callback is not getting executed, however, the Ajax
post seems to be ok (200) with the correct text output ...
The other params have effect, e.g. the ajax calls will be synchronous
(option async to false)
$('td[id^=order]').each(function(i) {
var tdId = $(th
I found out it's because I need an existing element for option "target".
I didn't want any element to be updated by the result, that's why I put this
#dummy pointing to nowhere.
Well, I added an element display:none in my Html and point it to that one
...
debussy00
Hi,
Have spoiled a whole day on this issue.
So ... For your information, when you set async to false in your ajax
function, the Response will be blank in Firebug.
Seemed to work before, but don't know if it's related to Firefox, Firebug or
jQuery.
Using :
Firebug 1.5.0
Firefox 3.6
jQuery 1.4
--
Hello,
whenever I try to display an alert box with some debugging information in my
keyup function,
I have the following errir in Firebug :
[Exception... "'Permission denied to set property XULElement.selectedIndex'
when calling method: [nsIAutoCompletePopup::selectedIndex]" nsresult:
"0x8057001
Hello,
I have a radio button like this one:
Lien familiale
Lien étroit
Intérêt direct ou indirect
How can I have the value of the checked radio button ?
Is this possible ?
I know how to get the value with the idea like $('myInput').val() but in
this case I have no idea.
Thank you for any
I integrated the form plugin.
I tried the following :
$('[name=othersTransLink]').fieldValue()
But it return me an empty string.
I do not have to specify the form or something ?
Something is missing.
malsup wrote:
>
> One option would be to use the form plugin:
>
> var value = $('[name=o
Thank you both of you !!! :-))
Dan G. Switzer, II wrote:
>
>
>>I integrated the form plugin.
>>
>>I tried the following :
>>$('[name=othersTransLink]').fieldValue()
>>
>>But it return me an empty string.
>>I do not have to specify the form or something ?
>>Something is missing.
>
> If y
cked').val()
>
>
> --Karl
> _
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
>
>
>
> On Oct 16, 2007, at 10:32 AM, debussy007 wrote:
>
>>
>>
>>
>> I integrated the form plugin.
>>
>> I tried the
Oh ok,
for some reason I have to add "@" before name, because I use a version below
1.2.
Thank you !
debussy007 wrote:
>
> The solution with the Form plugin works now,
> but I tried without the form plugin with your code but it returns "null"
>
>
>
Hello !
I am trying to change the background image of a div when clicking on an
element.
This is my code :
[...]
$('#accordion').css('background-image',
'/public/images/icons/slideDown.jpg');
alert($('#accordion').css('background-image'));
[...]
But the alert box will never s
Ok, I found out thanks to the jquery IRC channel.
It had to be url('/public/images/icons/slideDown.jpg')
Thank you.
debussy007 wrote:
>
> Hello !
>
> I am trying to change the background image of a div when clicking on an
> element.
> This is my code :
>
Hi,
slideUp() & slideDown() is not working well when there are images in IE.
I made a sample page about this issue :
http://matthew16.free.fr/temp/test.html
Click on "Click Here" to animate (slideUp / slideDown).
In Mozilla FF it is very smooth, but you will notice the difference in IE.
Thank
;> time
>> you trigger the slideup?
>>
>> --
>>
>> --
>> Michael Evangelista, Evangelista Design
>> Web :www.mredesign.com
>> Newsgroups: news://forums.mredesign.com
>> Blog :www.miuaiga.com
>>
>> "debussy007" <[EMAIL PROTECTE
Hello !
The following code works in Mozilla FF but not IE :
$.ajax({
type: "GET",
url: path,// path to JPG
success: function(data){
alert('success ' + path);
$('#currentImage').attr('src', path);
},
error: function(xhr
Hello,
I always used to uncheck a radio button this way :
$('#radio_shuttle_1_4')[0].checked=false;
The problem is that when using a selector that matches more than one
element, it will not work.
e.g. : $('[EMAIL PROTECTED]')[0].checked=false;
will not work.
Thank you for any help !!
--
Vie
Hi,
what is the best way in jquery to check wether an id exists ?
Thank you for any kind help !!
--
View this message in context:
http://www.nabble.com/check-if-an-id-exists-tp14488007s27240p14488007.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
exists
> }
> else
> {
> //it does not
> }
>
> debussy007 wrote:
>>
>> Hi,
>>
>> what is the best way in jquery to check wether an id exists ?
>>
>> Thank you for any kind help !!
>>
>
>
--
View this message in context:
http://www.n
(the error is "elem has no properties" in the jquery js)
debussy007 wrote:
>
> I tried :
> if( ! $('#tooltip') ) {
> ...
> }
>
> it gives me a javascript error if I add this :(
>
>
>
>
>
> Eridius wrote:
>>
>> n
}
>
> - Richard
>
> On Dec 24, 2007 9:11 AM, debussy007 <[EMAIL PROTECTED]> wrote:
>
>>
>>
>> Hi,
>>
>> what is the best way in jquery to check wether an id exists ?
>>
>> Thank you for any kind help !!
>> --
>> View this m
Hi,
I am calling an Ajax request to the server (J2ee, Struts Action) to get a
number :
*
alert(date);
alert(flight);
var html = $.ajax({
url: "ATBAjaxHandler.do",
data: "service-name=nb_places_available&dat
Hi,
I am trying to access my SELECT element with jQuery but I can't make it
working :
This works :
alert(document.getElementById('aller')); // [object]
var sel = document.getElementById('aller');
alert(sel.selectedIndex); // 0
This n
If you want to access a DOM property such as selectedIndex, you will need
> to
> retrieve the DOM object like this:
>
>> alert($("#aller")[0].selectedIndex);
>>
>
> Remember also that that line will generate an error if there is no element
> found with ID 'a
Hi,
I have an arrow on my website on which the user can click.
The problem is that when the user clicks, in Mozilla I have the selection
border on the arrow.
The arrow has id "buttonNext"
I tried this :
$("#buttonNext").click(function(){
alert("test");
Hi,
I try to use JTicker, RSS feed,
But I can't display my RSS feed.
I can notice by adding some alerts debuging that the javascript stops here :
FillSlide: function() {
var Item, TickerHTML, Title, URL, Desc;
$("#" + options.Tick
Hi,
I am trying to understand the difference between AjaxForm and AjaxSubmit.
There are some examples Here : http://www.malsup.com/jquery/form/#sample1
With some forms.
But for each form, when I click Submit, I get on a dummy.php page with some
text on it.
It doesn't look like an Ajax call.
cured
connection in my company that breaks the script !
Thank you for your support.
debussy007 wrote:
>
> Hi,
>
> I am trying to understand the difference between AjaxForm and AjaxSubmit.
>
> There are some examples Here : http://www.malsup.com/jquery/form/#sample1
>
> With
Hi,
I try to apply effect on a very basic example,
But I can't have it working.
Can anyone help me with this ?
Thank you !!
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
#level2 {background-color:#DFEBFF;}
$(docum
n Lipka
>> Sent: Friday, July 20, 2007 6:59 PM
>> To: jquery-en@googlegroups.com
>> Subject: [jQuery] Re: Effect - Slide Up/Down
>>
>>
>>
>> Couple of issues.
>> 1. You can use SlideToggle to reduce complexity alot.
>> $("input.oneButton"
Hi,
I am using the ScrollTo function of interface but I can notice that it is
not very fluid scrolling...
I use it to scroll my header on all the pages except the main page.
So I have put it in the jQuery(document).ready function,
so that when the user clicks on the page, it automatically scr
Hi,
How is it possible to get the class that starts with 'rate' of an element ?
the class could be rate1, rate5, rateXYZ.
I don't know what follows the substring 'rate'.
I need to get the number that follows rate.
Thank you for any help !
--
View this message in context:
http://www.nabble.co
Hi,
to get the selection option value, I use
$('#select').val();
But how do I get the content of the option ?
In other words:
world
$('#select').val(); will return "hello", but how do I get "world" ?
Thank you !
--
View this message in context:
http://www.nabble.com/Get-the-conten
Hi,
When I want to send a param with line below:
jQuery('#details').load('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 will be [...]/myCo
I could fix it using:
param = encodeURIComponent(param);
debussy007 wrote:
>
> Hi,
>
> When I want to send a param with line below:
>
> jQuery('#details').load('baseUrl
> ?>/myController/myAction/myParam/' + param, {}, function()
> {jQu
Hi,
In my submit() callback function, I want to set two new values in some
hidden input fields right before the post data is submitted, based on the
values the user inputs in some input fields.
However it seems already too late, the server will never have those values
unfortunately.
So I wonder
mit() is called, you should set the values.
>
>
>
> On 4월5일, 오후1시48분, debussy007 wrote:
>> Hi,
>>
>> In my submit() callback function, I want to set two new values in some
>> hidden input fields right before the post data is submitted, based on the
>> v
der
[...]
});
Sean McKenna wrote:
>
>
> I'm not sure I understand what you are trying to do, but if the
> requirement is to pass the values to the server, you can include them
> in the data parameter of the ajax routine.
>
> data: $(this).serialize() + "&
I understood that in my submit callback funtion, i call a asynchronous
function of google where I set the post values once I have a response. But I
didn't wait for the google function to terminate.
This issue is solved,
Thank you.
debussy007 wrote:
>
> I need something like that
Hello,
I use the Tree plusgin of Bassassistance but I noticed the files in the
lazy-load demo was not the same as the files to download.
For example there is no image ajax-loader.gif in the files. I tried to add
it and add in the CSS the code that's missing:
.treeview .placeholder {
bac
Hi,
For a lot of asynschronous calls, like the effects, jQuery provides
completion callbacks which are very useful.
Unfortunately it doesn't provide completion callbacks for events.
How am I able to know when an event has been completely processed ?
Once a specific event has been processed, I w
the states in the select
// once the country has been selected
// and select element containing states has been populated, then do
// $('#state').val(state);
// $('#state').change();
}
Richard D. Worth-2 wrote:
>
> On Sat, Sep 27, 200
Hi,
All my controllers which are located in the default module extends
'MyZend_Default_Controller_Action' which extends
'MyZend_Default_Common_Action' which finally extends Zend_Action_Controller
When I do a request for the main page (IndexController/indexAction), the
scripts executes once the
Hi,
In localhost, all of my ajax request work perfectly,
but on the prod server, whenever I try to make an ajax request, the
following error appear:
(This is the code used to display the error:
error: function(xhr, status, ex) {
var msg = "Error ajax edit profile :\n\n";
msg +=
I am fine with GET, but if anyone has encountered this error, I would
like to have some input if possible ...
Because when i'll need to use POST I'll have the same problem again.
Thank you!
debussy007 wrote:
>
> Hi,
>
> In localhost, all of my ajax request work per
Hi,
I have a scrollable div containing a table that can have like 100 thousands
of lines from my database. I want to have an ajax update every 5 seconds on
this data. So I tought I could update only the records which are visible in
the area of the div that the user scrolled to.
How would you ac
Hi,
it would be nice to find these two functionalities in the jQuery
Utilities/String operations, beside trim().
No ?
--
View this message in context:
http://www.nabble.com/startsWith---endsWith-tp19997960s27240p19997960.html
Sent from the jQuery General Discussion mailing list archive at Nab
Hi,
I would like to execute instructions after an event has been fired and
processed:
$('#int').click(); // I fire click event, callback function will be executed
// Execute other instructions after the callback fct of the click event has
been processed
The problem is, how do I know when the c
t that code and can't change it. But I want function two to be called
> automatically every time function one is called, after function one has
> displayed its alert. How would I do that?
>
> If you answer that, you'll know the answer to your question.
>
> -Mike
>
>
Hi,
I want to use Block UI in the (document).ready(...) function.
In Mozilla, the page is displayed and the message is appearing and block UI
blocks the page, everything is fine.
In IE and Safari, the page is only changed when the page has been unblocked
(the message is appearing for 1 second
quot;block"? you call block then
> unblock and it's happening almost immediately
>
>
>
>
>
>
> On Oct 30, 9:49 am, debussy007 <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I want to use Block UI in the (document).ready(...) function.
>>
ocDep( )
searchLocArr( )
searchLocInt( ... )
$.unblockUI();
}, 200);
works very good !!
What was wrong actually ? Why my version with setTimeout didn't work ?
Seems pretty basic, block UI, execute some isntructions, unblock.
malsup wrote:
>
>
> On Oct 30, 12:47 pm,
Hi,
is it possible to know wether the mouse is over a specific element or not ?
Thank you for any help !
:thinking:
--
View this message in context:
http://www.nabble.com/Determine-if-mouse-is-over-a-specific-element-tp15445464s27240p15445464.html
Sent from the jQuery General Discussion mai
Hi,
I try to submit my form with the Form plugin using ajax,
but it seems that when I add a file in the form, I get a JS error.
Aren't files supported by the plugin ?
Thank you for any info !
--
View this message in context:
http://www.nabble.com/Form-Plugin%3A-files-not-supported---tp158
I have the following error (on firebug console):
line 304
form.submit();
form.submit is not a function
The thrid parameter of the error callback says "SyntaxError: syntax error"
I can't see what I'm doing wrong,
a submit without picture of the same form is working, but once I add a
picture in
Maybe it is the fact that I upload 11 times 10 pictures from the form ?)
Can you help me ?
malsup wrote:
>
>
> Do you have an input with the name "submit". Try renaming that element.
>
> Mike
>
>
> On Tue, Mar 4, 2008 at 7:30 AM, debussy007 <[EMAIL PRO
Hi,
I am using iFixPng for IE6 but I have a strange effect ont he image, it
displays but there is a red cross on it,
sample:
http://r12121.ovh.net/~a6aresra/reining-merida.php
Instruction: $('img[src$=.png]').ifixpng();
Thank you for any kind help !!
--
View this message in context:
http:/
Hi,
Whenever a form is correctly validated, I want to change my submit button
into an ajax-like image.
$("#form_register").validate({
submitHandler: function(form) {
$("#button").html(
" '/public/images/ajax/ajax-loader-32.gif' "
+
"class='no-border'> R
Thank you, it works this way !
Jörn Zaefferer-2 wrote:
>
>
> Try to add form.submit(). The calls the native submit method and
> avoids triggering the validation again.
>
> Jörn
>
> On Wed, Jun 25, 2008 at 12:44 PM, debussy007 <[EMAIL PROTECTED]> wrote:
>
Hi,
I would like to send a parameter in the error callback :
var optionsPrcPic = {
beforeSubmit: showRequestPic, // pre-submit callback
success: showResponsePic, // post-submit callback
dataType: 'json',
url: "baseUrl;
?>/members/profile/add-pho
78 matches
Mail list logo