Re: [jQuery] utf-8 and jquery

2007-03-27 Thread amircx

when i do submit , ive pasted the action headers from firebug

Response Headers
DateTue, 27 Mar 2007 18:02:01 GMT
Server  Apache/2.0.52 (CentOS)
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control   no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma  no-cache
Content-Encodinggzip
VaryAccept-Encoding
Content-Length  129
Connection  close
Content-Typetext/html; charset=utf-8
Request Headers
Hostforms.linuxlab
User-Agent  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
Gecko/20070309 Firefox/2.0.0.3
Accept
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive  300
Connection  close
Content-Typeapplication/x-www-form-urlencoded
X-Requested-WithXMLHttpRequest
Referer http://forms.linuxlab/test5.php
Content-Length  237
Cookie  PHPSESSID=0ci5og0f6u6s2al7gup0te9bt2
Pragma  no-cache
Cache-Control   no-cache




and this is the page where is the form located (test.php)

Response Headers
DateTue, 27 Mar 2007 18:01:56 GMT
Server  Apache/2.0.52 (CentOS)
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control   no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma  no-cache
Content-Encodinggzip
VaryAccept-Encoding
Content-Length  2234
Connection  close
Content-Typetext/html; charset=UTF-8
Request Headers
Hostforms.linuxlab
User-Agent  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
Gecko/20070309 Firefox/2.0.0.3
Accept
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive  300
Connection  keep-alive
Cookie  PHPSESSID=0ci5og0f6u6s2al7gup0te9bt2
Cache-Control   max-age=0

is that helps?







amircx wrote:
> 
> hey. when im trying to send data to mysql or anything else in forgin
> language such hebrew its retruns me gibbrish... its a known bug?
> how can i fix it? i need to use php htmlentitles() ?
> im returning the data in json
> 

-- 
View this message in context: 
http://www.nabble.com/utf-8-and-jquery-tf3466629.html#a9690931
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] !!!MY FALUT!!!! Correction:

2007-03-26 Thread amircx


i meant "Sortable"  to  the drag and drop sortable lists

like that:
http://interface.eyecon.ro/demos/sort.html


so what do u say?



Matt Kruse-2 wrote:
> 
>> What is the jQuery interface going to look like?
> 
> It will simply expose methods like
>  .autosort()
>  .autofilter()
>  .autopage()
>  .tablesort()
>  .tablefilter()
>  .tablepage()
> 
> that hook into the jQuery syntax, either on document.ready or triggered
> manually. Ideally, I think the unobtrusive classname-driven functionality
> should be preferred, but the above style will be there in case more
> complex
> things need to be done.
> 
> Are there any other hooks specifically into jquery that you think would be
> beneficial?
> 
> Matt
> 
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/anyone-success-to-inegrate-sortable-with-mysql-php--tf3434368.html#a9579621
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] utf-8 and jquery

2007-03-26 Thread amircx

its also thinks that if i write hebrew letter its more than one letter so if
i force a maxlen=10 and write 1 char
 in hebrew its writes me that ive passed the max lengh

ideas?


Karl Swedberg-2 wrote:
> 
> Calling Jake! Calling Ⓙⓐⓚⓔ! Come in, ʝǡǩȩ.
> 
> ᎫᎪᏦᎬ, someone needs your help.
> 
> :-)
> 
> 
> --Karl
> _
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
> 
> 
> 
> On Mar 26, 2007, at 8:34 AM, amircx wrote:
> 
>>
>> my db and the page saved as utf-8...
>>
>> its returns me in textfield values of : ×××
>>
>> and wierd chars
>> instad of hebrew letters
>>
>> Michael Fuerst wrote:
>>>
>>>>
>>>> hey. when im trying to send data to mysql or anything else in forgin
>>>> language
>>>> such hebrew its retruns me gibbrish... its a known bug?
>>>> how can i fix it? i need to use php htmlentitles() ?
>>>>
>>>>
>>>
>>> I would say this debends what you mean with "its retruns me  
>>> gibbrish":
>>>
>>> The data you get back from your ajax-call is probably utf-8  
>>> encoded. But
>>> is the data in your database also utf-8 encoded? If not, your're  
>>> inserting
>>> non utf-8 code into an utf-8 encoded document... a php utf8_encode  
>>> when
>>> inserting the data from database into your ajax-result would do  
>>> the trick
>>> in that case...
>>>
>>> michael
>>>
>>>
>>> ___
>>> jQuery mailing list
>>> discuss@jquery.com
>>> http://jquery.com/discuss/
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/utf-8-and- 
>> jquery-tf3466629.html#a9672408
>> Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
>> ___
>> jQuery mailing list
>> discuss@jquery.com
>> http://jquery.com/discuss/
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/utf-8-and-jquery-tf3466629.html#a9673888
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] utf-8 and jquery

2007-03-26 Thread amircx

my db and the page saved as utf-8...

its returns me in textfield values of : ×××

and wierd chars
instad of hebrew letters

Michael Fuerst wrote:
> 
>>
>> hey. when im trying to send data to mysql or anything else in forgin
>> language
>> such hebrew its retruns me gibbrish... its a known bug?
>> how can i fix it? i need to use php htmlentitles() ?
>>
>>
> 
> I would say this debends what you mean with "its retruns me gibbrish":
> 
> The data you get back from your ajax-call is probably utf-8 encoded. But
> is the data in your database also utf-8 encoded? If not, your're inserting
> non utf-8 code into an utf-8 encoded document... a php utf8_encode when
> inserting the data from database into your ajax-result would do the trick
> in that case...
> 
> michael
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/utf-8-and-jquery-tf3466629.html#a9672408
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] google takes over my error div!!!

2007-03-26 Thread amircx

umm... there is no other tag for replacement? im using it for somthing
*

Jörn Zaefferer wrote:
> 
> Klaus Hartl schrieb:
>> Dan G. Switzer, II schrieb:
>>   
>>> Jörn,
>>>
>>> 
 Thanks for investigating. It would be easy to make the element used for
 error messages customizable. What would you recommend as the default?
 The Google Toolbar problem can occur everywhere, so the label-default
 seems like a bad idea now.
   
>>> Well, my initial thought was a , but perhaps the  tag would
>>> be
>>> more semantically correct. 
>>>
>>> The  is supposed to be used to "emphasis" text, and what needs
>>> more
>>> emphasis than an error message?
>>> 
>>
>> Too bad! From a semantic standpoint I'd use:
>>
>> ...
>>   
> Yeah, but that poses the same problem we are trying to solve. I like 
> . "em" like error message :-)
> 
> -- 
> Jörn Zaefferer
> 
> http://bassistance.de
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/google-takes-over-my-error-div%21%21%21-tf3446124.html#a9671933
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] utf-8 and jquery

2007-03-26 Thread amircx

hey. when im trying to send data to mysql or anything else in forgin language
such hebrew its retruns me gibbrish... its a known bug?
how can i fix it? i need to use php htmlentitles() ?

-- 
View this message in context: 
http://www.nabble.com/utf-8-and-jquery-tf3466629.html#a9671989
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jqupload tweak + forms plugin

2007-03-25 Thread amircx

form.submit.notify ... umm
ive looked on jquery api / your api and jorn api
no such a command... can you be more specipic?


malsup wrote:
> 
> One option is to listen to the new form events.  The form plugin fires
> a vetoable event called "form.submit.validate" prior to submitting the
> form and a notification event called "form.submit.notify" after the
> form has been submitted.  Perhaps you could use these to drive the
> desired external behavior.  These aren't currently documented so check
> the source code for details.
> 
> Mike
> 
> 
> On 3/22/07, amircx <[EMAIL PROTECTED]> wrote:
>>
>> hey... my brother did some tweak to the jqupload script :
>> http://tal.tl/javascript/my-jquploader-upload-images-php-ajax-flash.html
>>
>> is it possible to integrate it with the forms plugin? cause i saw that
>> there
>> is no support for it..
>> --
>> View this message in context:
>> http://www.nabble.com/jqupload-tweak-%2B-forms-plugin-tf3446353.html#a9610890
>> Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
>> ___
>> jQuery mailing list
>> discuss@jquery.com
>> http://jquery.com/discuss/
>>
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jqupload-tweak-%2B-forms-plugin-tf3446353.html#a9658809
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] jqupload tweak + forms plugin

2007-03-22 Thread amircx

hey... my brother did some tweak to the jqupload script :
http://tal.tl/javascript/my-jquploader-upload-images-php-ajax-flash.html

is it possible to integrate it with the forms plugin? cause i saw that there
is no support for it.. 
-- 
View this message in context: 
http://www.nabble.com/jqupload-tweak-%2B-forms-plugin-tf3446353.html#a9610890
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] google takes over my error div!!!

2007-03-22 Thread amircx

hey. when google toolbar is activate and im using form validation, when i
have some error div, its instad of writing my own message its writes : "your
google toolbar can fill this in for you select autofill" 

e
anyone knows how to fix it? 

-- 
View this message in context: 
http://www.nabble.com/google-takes-over-my-error-div%21%21%21-tf3446124.html#a9610202
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] NOTICE: Moving to Google Groups

2007-03-21 Thread amircx

its ok but how can i write ? its tells me its for members only and i need
invite for that



John Resig wrote:
> 
> Hi Everyone -
> 
> As you've probably noticed, the mailing list has been very very flaky
> the past couple days. Primarily, this is due to the fact that the
> amount of traffic coming to the server is entirely overwhelming.
> 
> Currently, we're receiving about 260,000 web hits/day in addition to
> sending out about 150,000 emails/day.
> 
> Up until this point I've been content to host the mailing list on this
> server, with the hope that the list would eventually be moved to a
> forum, of some sort. However, the strain of adding in an additional
> web application, combined with the continued sending of hundreds of
> thousands of emails, is simply more than what our server (and
> "sysadmin" [me] can take).
> 
> I've talked it over with a number of people and they feel that Google
> Groups is an adequate substitute for both a mailing list and a
> general-purpose forum, and I tend to agree. The usability of Google
> Groups is a huge factor; it will help users to more-easily sign-up and
> participate at their leisure.
> 
> I had considered moving over to Google Groups before, but I was never
> able to find a way to import all of our old messages. Thankfully, I
> now figured out a way; making the move completely possible.
> 
> Tonight at 10pm EST (0300 GMT) I will be making a final posting to
> this mailing list, and will close it down. The final messages will be
> moved over to the new mailing list, located here (it's currently
> locked):
> http://groups.google.com/group/jquery-en
> 
> Currently, I have everything but March's messages, and all of your
> subscriptions, moved over. I will be doing both of those tonight. (You
> should receive an email notification alerting you once you've been
> subscribed to the group.) I will do my best to maintain your current
> email notification settings.
> 
> I hope everyone is ok with this move. I think it's for the best.
> Please let me know if you have any serious concerns. Thanks!
> 
> --John
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/NOTICE%3A-Moving-to-Google-Groups-tf3440797.html#a9595429
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] json status returns ajax

2007-03-21 Thread amircx

why when i get error (status 0) its print out : "done" ?

 http://pastebin.ca/404952

i want to make if status = 0 then show errors on div, if its 1 then redirect
to diffrent page, and if its 0 then alert somthing and stop script from
execute...

idaes how to do it?
-- 
View this message in context: 
http://www.nabble.com/json-status-returns-ajax-tf3440225.html#a9592515
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] anyone success to inegrate sortable with mysql/php?

2007-03-20 Thread amircx

im trying to see some working online examples of sortable plugin and its
seems there is no such thing execept the offical website.. .why pepole dont
use it?
i see the scriptaculs thing that rule on the web... 
maybe its because there are working examples of scriptacouls with php/mysql
integration?

-- 
View this message in context: 
http://www.nabble.com/anyone-success-to-inegrate-sortable-with-mysql-php--tf3434368.html#a9574721
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] blockui crushes IE6

2007-03-19 Thread amircx

hey. i got this code: http://pastebin.ca/401900
when im submit the form in ie6 its about 85% times crushes...

just let you know
-- 
View this message in context: 
http://www.nabble.com/blockui-crushes-IE6-tf3428165.html#a9555454
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] halt script running

2007-03-19 Thread amircx

i got this code

and i want that if :

result.status == 0 - show the error div (its works)
if its 1 then redirect to another page
if its 2 (critical / unknown error) - stop exectue of this script and return
alert

right now its keep runing if i got status 2
ideas how to solve it?

 
$(function() {
 
$().ajaxSuccess(function(request, settings){
 alert('Done!');
});
 
$().ajaxStart(function() {

 
 
$.blockUI( '

http://crazilla.linuxlab/images/icons/loading/loading1.gif
Just a moment...

' ); }).ajaxStop(function() { $.unblockUI(); }); $().ajaxError(function(a, b, e) { throw e; }); $.validator.setDefaults({ debug: false }); var v = $("#MyForm1").validate({ /// begin rules // rules: { MyForm1nicknameInputfield: { maxLength: 45 }} /// end rules /// , focusInvalid: "false", event: "keyup", submitHandler: function(form) { $(form).ajaxSubmit({ dataType: "json", after: function(result) { if(result.status == 0) { v.showErrors(result.data); } else if(result.status == 2) { alert(result.data); } else if(result.status == 1) { } } }); } }); }); -- View this message in context: http://www.nabble.com/halt-script-running-tf3428418.html#a9556286 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] im join to his question... need it too...

2007-03-19 Thread amircx

anyone knows the answer?:)



talkz wrote:
> 
> you may also look at : http://www.tal.tl/ajax
> 
> 
> 
> 
> 
> 
> 
> talkz wrote:
>> 
>> hey i have this code, how can i get the "visible" / "hidden" from the
>> uls?
>> when i change the sort, i know what id i have on the div, but i want to
>> know what is the  my moved li is on..
>> 
>> jquery:
>> 
>> 
>> $('#visible,#hidden').Sortable({
>>  accept : 'weddy_menu',
>>  opacity:0.2,
>>  onChange: function (sorted) {
>>  var bb="#" + $(".weddy_menu").attr("id");
>> 
>>  }
>> });
>> 
>> 
>> 
>> html:
>> 
>>  
>>   
>>  dook
>>  rook
>>  
>> 
>> 
>> 
>> 
>>  
>>   
>>  aga
>>  baba
>>  saba
>>  
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-do-i-get-%3CLI%3E%27s-UL-tag-id--tf3427869.html#a908
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] blockui question

2007-03-19 Thread amircx

hey. is there a way to block only the form part, with loading message, and
change the message once ajax got json parameter? like :

load
if php returns status {'status': 0, 'data': {'nickname': 'field is too short
'}};  then... 
return
else - write "success" and redirect or somthing?

also, is there a way to animate that message box?


-- 
View this message in context: 
http://www.nabble.com/blockui-question-tf3426405.html#a9550164
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] looking for sortable plugin that serialized on mouse release

2007-03-15 Thread amircx

THANKSS
:)
works


Mika Tuupola wrote:
> 
> 
> On Mar 15, 2007, at 12:42 PM, amircx wrote:
> 
>> i saw many sortables around including protoype, its seems that the  
>> interface
>> plugin is the most simple , but i dont have a clue how can i  
>> serialize the
>> data after the user release the dragged content, and also, how can  
>> i send it
>> to the server for proccessing the data
> 
> Do something like:
> 
>  $("#someid").Sortable({
>  accept : 'sortableitem',
>  onchange : function (sorted) {
>  serial = $.SortSerialize('projectlist');
>  $.ajax({
>  url: "http://www.example.com/save.php";,
>  type: "POST",
>  data: serial.hash
>  // complete: function(){},
>  // success: function(){},
>  // error: function(){}
>  });
>  }
>  });
> 
> 
> --
> Mika Tuupola  http://www.appelsiini.net/~tuupola/
> 
> 
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/looking-for-sortable-plugin-that-serialized-on-mouse-release-tf3407504.html#a9493050
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] looking for sortable plugin that serialized on mouse release

2007-03-15 Thread amircx

hey
i saw many sortables around including protoype, its seems that the interface
plugin is the most simple , but i dont have a clue how can i serialize the
data after the user release the dragged content, and also, how can i send it
to the server for proccessing the data

anyone can see this code? 

 
$(document).ready( 
function () { 
$('ul').Sortable( 
{ 
accept : 'sortableitem', 
activeclass : 'sortableactive', 
hoverclass : 'sortablehover', 
helperclass : 'sorthelper', 
opacity: 0.8, 
fx: 100, 
revert: true, 
onchange: seri,
  //  onout: function(result) {($)};
tolerance: 'intersect' 
} 
 
)
} 
); 
function seri() {
serial = $.SortSerialize('sortable');
alert(serial.hash);
}
 
-- 
View this message in context: 
http://www.nabble.com/looking-for-sortable-plugin-that-serialized-on-mouse-release-tf3407504.html#a9491922
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] display message below / above div that include FORM

2007-03-14 Thread amircx

hey.
i have a div that inside contains FORM elements
im trying to suppress that window and put a div that will be below it with
message. i tried this:
 fgfdgfsdfdsfdsfdf
$(function(){

$('#FormContainer1').block();  $("#statusmsg").below("#FormContainer1",
{adjustRight: offset, adjustDown: 0})
 $('#FormContainer1').fadeTo("550", 0.2);
offset = ($('#statusmsg').width() - $('#MyForm1').width()) / 2;

 $('#unblockButton').click(function() { 
$('#FormContainer1').unblock(); 
}); 

for some reason the status div is under the form elements and not visible at
all
my goal is to make this div centers both to the horizen/vectiral 

ideas?
-- 
View this message in context: 
http://www.nabble.com/display-message-below---above-div-that-include-FORM-tf3402765.html#a9476566
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] looking for overlay loading window script

2007-03-14 Thread amircx

hey. i tried blockui and serval scripts, they are great, the problem that i
want to able to do somthing like
on user click on submit its open window like blockui has with "loading..."
then its checks the json parameters that given back and if status is 0 then
close the modal window and open new one (or just change the text inside) to
"you have errrors : [errors] , please fix them! " 
finnally if everything is ok then write on the window "submit done" and then
on click redirect it to a page... or somthing like that.. anyone knows
plugin that do similar thing?

-- 
View this message in context: 
http://www.nabble.com/looking-for-overlay-loading-window-script-tf3401116.html#a9471216
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] looking for popup messenger style

2007-03-13 Thread amircx

hey
im looking for popup window that will open like msn messenger when user has
going online or sending a message... and will disappear after 5 secounds or
somthing, anyone knows about somthing like that? 
-- 
View this message in context: 
http://www.nabble.com/looking-for-popup-messenger-style-tf3399168.html#a9465265
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Combining Jquery and prototype /scriptaculous

2007-03-13 Thread amircx

is that possible/recommended to use both scripts on same page? they can
integrate nicely?
anyone tried ?
-- 
View this message in context: 
http://www.nabble.com/Combining-Jquery-and-prototype--scriptaculous-tf3398974.html#a9464591
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] forms validation error divs - help

2007-03-13 Thread amircx

nope, dont work
anybody can help?

Rick Faircloth wrote:
> 
> Now that I'm not sure about...
> 
> My first "guess" would be to try modifying a section of
> my code and adapting for those type inputs"
> 
> Original:
> 
>   // select all inputs of type text
>   $("input:text").each(function(){
>   Params[$(this).attr("name")] = $(this).val();
>   }); // closes input:text function
> 
> Perhaps add this modified version, too:
> 
>   // select all input of type select
>   $("input:select").each(function(){
>   Params[$(this).attr("name")] = $(this).val();
>   }); // close input:select function
> 
> Now, this is most likely incorrect or at the very least
> inefficient, but if it doesn't work, we'll throw out the question
> to the rest of the list, if someone doesn't see this and respond
> before.
> 
> I'm sure there's a way to modify the original code above
> to include all types of inputs, I just don't know how to code for it.
> 
> Anybody else want to help out here?
> 
> Rick
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of amircx
> Sent: Tuesday, March 13, 2007 2:31 PM
> To: discuss@jquery.com
> Subject: Re: [jQuery] forms validation error divs - help
> 
> 
> is that handle all form elements?
> if i got dropdown/checkboxes then what?
> 
> Rick Faircloth wrote:
>> 
>> Hi, amircx...
>> 
>> I think what you're missing is the last part of the code below:
>> 
>> $("#Result").empty().append(data);
>> 
>> I believe the purpose of that line is to remove the previous error
>> message
>> before a new one is displayed.
>> 
>> Here's how it fits into my entire "CalculateMortgage" function that
>> precedes
>> the code I sent yesterday...
>> 
>> See if this info help you...
>> 
>> Rick
>> 
>>  submitHandler: function(){
>>  
>>  function CalculateMortgage(){
>> 
>>  var Params = {};
>>  
>>  // select all inputs of type text
>>  $("input:text").each(function(){
>>  Params[$(this).attr("name")] = $(this).val();
>>  }); // closes input:text function
>>  
>>  // "post" the form.  The Param object mimics form fields
>>  $.post("Mortgage_Calculation.cfm", Params, function(data){
>>  // this is the processing function.
>>  
>>  // append what you get back to the element with ID = Result
>> after clearing its contents
>>  $("#Result").empty().append(data);
>>  
>>  } // closes post function
>>  ); // closes ( after .post
>>  } // closes } after CalculateMortgage = function() {
>>  
>>  } // closes the submitHandler function  
>> 
>> 
>> 
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>> Behalf Of amircx
>> Sent: Tuesday, March 13, 2007 8:49 AM
>> To: discuss@jquery.com
>> Subject: Re: [jQuery] forms validation error divs - help
>> 
>> 
>> hey rick
>> great job
>> i got some question
>> its works good, but if i got the same / diffrent error, its duplicates me
>> the error message, like "error, this field must be 15 chars at least
>> error,
>> this field must be 15 chars at least error, this field must be 15 chars
>> at
>> least"
>> 
>> and if the field is corrected or ok, its just not disappear the div error
>> msg... how can i fix it?
>> 
>> 
>> Rick Faircloth wrote:
>>>  
>>> Hi, amircx...
>>> 
>>> Here's some code I'm using... I just started jQuery about 2 weeks ago,
>>> myself.
>>> You'll see the rules and corresponding messages in the code.
>>> 
>>> Rick
>>> 
>>> $().ready(function() {
>>> 
>>> // validate Mortgage_Calculation_Form form fields on keyup
>>> $("#MC_Form").validate({
>>> 
>>>  errorPlacement: function(error, element) {
&

Re: [jQuery] forms validation error divs - help

2007-03-13 Thread amircx

is that handle all form elements?
if i got dropdown/checkboxes then what?

Rick Faircloth wrote:
> 
> Hi, amircx...
> 
> I think what you're missing is the last part of the code below:
> 
> $("#Result").empty().append(data);
> 
> I believe the purpose of that line is to remove the previous error message
> before a new one is displayed.
> 
> Here's how it fits into my entire "CalculateMortgage" function that
> precedes
> the code I sent yesterday...
> 
> See if this info help you...
> 
> Rick
> 
>   submitHandler: function(){
>   
>   function CalculateMortgage(){
> 
>   var Params = {};
>   
>   // select all inputs of type text
>   $("input:text").each(function(){
>   Params[$(this).attr("name")] = $(this).val();
>   }); // closes input:text function
>   
>   // "post" the form.  The Param object mimics form fields
>   $.post("Mortgage_Calculation.cfm", Params, function(data){
>   // this is the processing function.
>   
>   // append what you get back to the element with ID = Result
> after clearing its contents
>   $("#Result").empty().append(data);
>   
>   } // closes post function
>   ); // closes ( after .post
>   } // closes } after CalculateMortgage = function() {
>   
>   } // closes the submitHandler function  
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of amircx
> Sent: Tuesday, March 13, 2007 8:49 AM
> To: discuss@jquery.com
> Subject: Re: [jQuery] forms validation error divs - help
> 
> 
> hey rick
> great job
> i got some question
> its works good, but if i got the same / diffrent error, its duplicates me
> the error message, like "error, this field must be 15 chars at least
> error,
> this field must be 15 chars at least error, this field must be 15 chars at
> least"
> 
> and if the field is corrected or ok, its just not disappear the div error
> msg... how can i fix it?
> 
> 
> Rick Faircloth wrote:
>>  
>> Hi, amircx...
>> 
>> Here's some code I'm using... I just started jQuery about 2 weeks ago,
>> myself.
>> You'll see the rules and corresponding messages in the code.
>> 
>> Rick
>> 
>> $().ready(function() {
>> 
>> // validate Mortgage_Calculation_Form form fields on keyup
>> $("#MC_Form").validate({
>>  
>>   errorPlacement: function(error, element) {
>> 
>> if(element.attr('id') == "Principal") {
>>   error.appendTo("#principal_error");
>>   }
>>  
>>   else
>>   
>>   if(element.attr('id') == "Interest") {
>>   error.appendTo("#interest_error");
>>   }
>>  
>>else
>>  
>>   if(element.attr('id') == "Years") {
>>   error.appendTo("#years_error");
>>   }
>>  
>>  },//closes errorPlacement function
>> 
>>  focusInvalid: "false",
>>  
>>  event: "keyup",
>>  
>>  rules: {
>>  
>>  Principal: {required: true,
>>   digits: true},
>>  Interest: {required: true,
>>  number: true},
>>  Years: {required: true,
>>   number: true}
>>  },
>> 
>>  messages: {
>>  
>>  Principal: {required: "Please enter the Principal.",
>>number: "Please enter a number.  Format: 255000
> (No $ or , )"},
>>  Interest: {required: "Please enter the Interest Rate.",
>>number: "Please enter a number."},
>>  Years: {required: "Please enter the Years.",
>> 

Re: [jQuery] forms validation error divs - help

2007-03-13 Thread amircx

hey rick
great job
i got some question
its works good, but if i got the same / diffrent error, its duplicates me
the error message, like "error, this field must be 15 chars at least error,
this field must be 15 chars at least error, this field must be 15 chars at
least"

and if the field is corrected or ok, its just not disappear the div error
msg... how can i fix it?


Rick Faircloth wrote:
>  
> Hi, amircx...
> 
> Here's some code I'm using... I just started jQuery about 2 weeks ago,
> myself.
> You'll see the rules and corresponding messages in the code.
> 
> Rick
> 
> $().ready(function() {
> 
> // validate Mortgage_Calculation_Form form fields on keyup
> $("#MC_Form").validate({
>   
>errorPlacement: function(error, element) {
> 
> if(element.attr('id') == "Principal") {
>error.appendTo("#principal_error");
>}
>   
>else
>
>if(element.attr('id') == "Interest") {
>error.appendTo("#interest_error");
>}
>   
>else
>   
>if(element.attr('id') == "Years") {
>error.appendTo("#years_error");
>}
>   
>   },//closes errorPlacement function
> 
>   focusInvalid: "false",
>   
>   event: "keyup",
>   
>   rules: {
>   
>   Principal: {required: true,
>digits: true},
>   Interest: {required: true,
>   number: true},
>   Years: {required: true,
>number: true}
>   },
> 
>   messages: {
>   
>   Principal: {required: "Please enter the Principal.",
> number: "Please enter a number.  Format: 255000 (No $ 
> or , )"},
>   Interest: {required: "Please enter the Interest Rate.",
> number: "Please enter a number."},
>   Years: {required: "Please enter the Years.",
>number: "Please enter a number."}
>  },
> 
> 
>   submitHandler: function(){
> 
>  // Call CalculateMortgage
>  CalculateMortgage();
> 
>   } // closes the submitHandler function
> 
> }) // closes the ) before the .validate bracket? 
> }); // closes the .validate bracket
> 
> 
> 
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/forms-validation-error-divs---help-tf3389341.html#a9453627
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] forms validation error divs - help

2007-03-12 Thread amircx

can you give me example please?
i tried today 6 hours :P 

Jörn Zaefferer wrote:
> 
> amircx schrieb:
>> i saw the api, but i dont get it, there are some duplicate label with
>> diffrent error messages. i need one div to echo one error per field , and
>> if
>> the field got 2 errors then show the first error and if its fixed then
>> show
>> the secound  error...
>>   
> If you need more then one message per field, specify the messages via 
> the plugin settings.
> 
> -- 
> Jörn Zaefferer
> 
> http://bassistance.de
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/forms-validation-error-divs---help-tf3389341.html#a9442159
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] need help with tabs

2007-03-12 Thread amircx

ok
and how do i disable cache?


Klaus Hartl wrote:
> 
> amircx schrieb:
>> hey. for some reason i cant make this page to show loading gif/message
>> while
>> i click on tab... i did what you told me and its still not working
>> can any1 take a look?
>> http://www.oranuse.com/myhome/down.php 
> 
> I can't see why it doesn't work for you. On my test page it just works
> fine:
> http://stilbuero.de/jquery/tabs/test.html
> 
> Everytime you click on the remote tabs at the bottom, you should see a 
> "Loading..." in the middle of the screen.
> 
> Your CSS is just not correct. Change the selector
> 
> ".anchors .tabs-selected .loadingdiv"
> 
> to this:
> 
> #loadingdiv {
>   padding-left: 25px;
>   background-image: url(/myhome/loading.gif);
>   background-position: 4px 50%;
>   background-repeat: no-repeat;
> }
> 
> if you want to see some result.
> 
> 
> 
> -- Klaus
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/need-help-with-tabs-tf3380657.html#a9441842
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] forms validation error divs - help

2007-03-12 Thread amircx

hey. ive tried to change the error div instad of 

to 
title

error

its doesnt make sense ... 





here is the code:
 nickname1 *
var v = $("#MyForm1").validate({rules: { MyForm1nicknameInputfield: {
minLength: 12, required: true, maxLength: 45 }},
submitHandler:
function(form) {



i saw the api, but i dont get it, there are some duplicate label with
diffrent error messages. i need one div to echo one error per field , and if
the field got 2 errors then show the first error and if its fixed then show
the secound  error...
 
anyone can guide me how to do it? 
-- 
View this message in context: 
http://www.nabble.com/forms-validation-error-divs---help-tf3389341.html#a9434127
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] validation plugin not working in ie6... here is the js link...

2007-03-11 Thread amircx

hey
its writes me in ie6 "$.validator is not an object"
ive downloaded the zip file from your site jorn, here is the files im using
that cuases me that error:
http://www.amir.cx/test1/used.zip

can you please check if my version is ok?

-- 
View this message in context: 
http://www.nabble.com/validation-plugin-not-working-in-ie6...-here-is-the-js-link...-tf3384992.html#a9422079
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Form validator plug - checking valid date 3 dropdowns ... help

2007-03-11 Thread amircx

hey. i got this code, its 3 dropdown with a date to select
i dont success to do a validation to them in order to check if the date is
correct (ie. not 04/31/2004)
i want onsubmit to check if the date is vaild before sending it to php
anyone can help?




ubirthday 01
02
03
04
05
06
07

08
09
10
11
12
13
14
15
16

17
18
19
20
21
22
23
24
25

26
27
28
29
30
31
01
02
03

04
05
06
07
08
09
10
11
12

1984
1985
1986
1987
1988
1989
1990
1991
1992

1993
1994
1995
1996
1997
1998
1999



the ajax:
$(function() { 


// show a simple loading indicator



var loader = $(' images/loading.gif ')
.css({position: "relative", top: "1em", left: "25em"})
.hide()
.appendTo("body");
$().ajaxStart(function() { 
loader.show();
}).ajaxStop(function() {
loader.hide();
});

$().ajaxError(function(a, b, e) { 
throw e;
});

$.validator.setDefaults({
debug: true
});

var v = $("#MyForm1").validate({


rules: { MyForm1nicknameInputfield: { minLength: 1, 
required: true,
maxLength: 45 } , MyForm1uemailInputfield: { minLength: 1, required: true,
maxLength: 45, email:true } , MyForm1uaboutmeInputfield: { minLength: 1,
maxLength: 11 } , MyForm1upassInputfield: { minLength: 1, required: true,
maxLength: 7, minLength: 1, maxLength: 7 } , MyForm1ugenderInputfield: {
required:true } , MyForm1ubirthdayInputfield: { required:true,
required:true, required:true }},submitHandler: 
function(form) {


$(form).ajaxSubmit({

dataType: "json",

after: function(result) {

if(result.status == 0) {

 v.showErrors(result.data);
}   if(result.status == 1) 
{  alert("OK"); }

}
});
}
});
});
-- 
View this message in context: 
http://www.nabble.com/Form-validator-plug---checking-valid-date-3-dropdowns-...-help-tf3384774.html#a9421389
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] need help with tabs

2007-03-10 Thread amircx

hey. for some reason i cant make this page to show loading gif/message while
i click on tab... i did what you told me and its still not working
can any1 take a look?
http://www.oranuse.com/myhome/down.php 
-- 
View this message in context: 
http://www.nabble.com/need-help-with-tabs-tf3380657.html#a9409621
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery Powered Sites - Keep the Links Coming

2007-03-10 Thread amircx

i have some sites but all in development .. ill submit once they will be
online

Rey Bango-2 wrote:
> 
> Hey all,
> 
> I just wanted to let you know that I've been compiling the list of sites 
> and definitely noting all of the ones submitted. Thank you for providing 
> the info.
> 
> Please keep sending links as we want to have a nice list of 
> jQuery-powered sites for the jQuery web site.
> 
> Thanks,
> 
> Rey...
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jQuery-Powered-Sites---Keep-the-Links-Coming-tf2955158.html#a9409598
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jquery tabs and loader div

2007-03-09 Thread amircx

hey 
thanks for the help.. its doesnt work , but im sure that im the idiot and i
did worng 
can you please look at that url and check whats worng in my code? 

http://www.oranuse.com/myhome/down.php 

thanks !:) 






Klaus Hartl wrote:
> 
> amircx schrieb:
>> hey... i want to load content inside tab, and whille that to show
>> "loading"
>> image... i saw the api and i dont success to do it
>> what i did worng in here?
> 
> I don't know where you got that from, but there is no "spinner" option 
> currently implemented.
> 
> $('#container-10').tabs({ remote: true, fxFade: true, fxSpeed: 'fast', 
> fxSlide: true, loadingClass: 'progress', spinner:
> '/myhome/img/load1.gif'});
> 
> The loading class is attached to the the  element which anchor got 
> clicked on to load the Ajax content. This class is used to change the 
> appearance of the clicked tab while loading.
> 
> It's default value is 'tabs-loading', thus there's the following rule in 
> the style sheet:
> 
> .anchors .tabs-selected .tabs-loading {
>  padding-left: 25px;
>  background-image: url(loading.gif); /* <= change url here?! */
>  background-position: 4px 50%;
>  background-repeat: no-repeat;
> }
> 
> If you want to change the name of that class, you can use the 
> loadingClass option for that. You have to adapt your style sheet 
> accordingly of course:
> 
> .anchors .tabs-selected .progress {
>  padding-left: 25px;
>  background-image: url(loading.gif);
>  background-position: 4px 50%;
>  background-repeat: no-repeat;
> }
> 
> The little spinner will be shown left to the text of the tab title.
> 
> Showing a spinner elsewhere is not supported by an option, but you could 
> use the onClick and onHide callbacks, the former for displaying the 
> spinner, the latter to hide it. onHide gets fired when the formerly 
> active tab is hidden, e.g. in the middle of the effect, right before the 
> new tab is revealed. Something like that:
> 
> $('#container').tabs({
>  remote: true,
>  fxFade: true,
>  fxSlide: true,
>  fxSpeed: 'fast',
>  onClick: function() {
>  $('#progress').show();
>  },
>  onHide: function() {
>  $('#progress').hide();
>  }
> });
> 
> Let me know if that works for you. onHide does not exactly map to the 
> point when the content got loaded. As an alternative you could use the 
> global ajaxStart and ajaxStop handlers for that.
> 
> $("#progress")
>  .ajaxStart(function(){
>$(this).show();
>  })
>  .ajaxStop(function(){
>$(this).hide();
> });
> 
> 
> -- Klaus
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jquery-tabs-and-loader-div-tf3371416.html#a9391868
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jquery tabs and loader div

2007-03-09 Thread amircx

hey
thanks for the help.. its doesnt work , but im sure that im the idiot and i
did worng
can you please look at that url and check whats worng in my code?

http://www.oranuse.com/myhome/down.php

thanks !:)




amircx wrote:
> 
> hey... i want to load content inside tab, and whille that to show
> "loading" image... i saw the api and i dont success to do it
> what i did worng in here?
> 
> ?> type="text/css" media="print, projection, screen" />
> 
> 
>  type="text/javascript">
>  type="text/javascript">
>  type="text/javascript">
> //<![CDATA[
> // Tabs - hide tabs before initialization to avoid flash of
> content
> // Add styles via JavaScript for graceful degradation...
> document.write('<style type="text/css" media="projection,
> screen">.fragment { display: none; }</style>');
> //]]>
> 
> 
> /*
> just to make this demo look a bit better...
> */
> * {
> margin: 0;
> padding: 0;
> }
> body {
> padding: 10px;
> line-height: 1.4;
> font-size: 16px; /* @ EOMB */
> }
> body * {
> font-size: 87.5%;
> font-family: "Trebuchet MS", Trebuchet, Verdana,
> Helvetica, Arial, sans-serif;
> }
> body * * {
> font-size: 100%;
> }
> h1 {
> margin: 0 0 1em;
> font-size: 143%;
> }
> h2 {
> margin: 2em 0 1em;
> }
> h3 {
> margin: 0 0 1em;
> }
> ul {
> list-style: none;
> }
> p, pre {
> margin: 1em 0 0;
> }
> code {
> font-family: "Courier New", Courier, monospace;
> }
> div {
> margin: 1.2em 0 0;
> width: 50%;
> }
> div div {
> margin: 0;
> width: auto;
> }
> #container-10 div {
> border: 1px solid #eaeaea;
> background: transparent;
> }
> #container-10 div div {
> border: 0;
> }
> #tested li {
> display: inline;
> }
> #tested li:before {
> content: ", ";
> }
> #tested li:first-child:before {
> content: "";
> }
>   
>   
> 
> 
> 
> 
> //<![CDATA[
> function createCallback(type) {
> return function() {
> alert('callback: ' + type);
> }
> }
> 
> $(document).ready(function() {
> 
>
> $('#container-10').tabs({ remote: true, fxFade: true,
> fxSpeed: 'fast', fxSlide: true, loadingClass: 'progress', spinner:
> '/myhome/img/load1.gif'});
> 
>  
> 
> });
> //]]>
> 
> 
> 
>
> 
>  tes1t.php Section 25 
>  tes2t.php Section 26 
>  test.php Section 27 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jquery-tabs-and-loader-div-tf3371416.html#a9391867
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] jquery tabs and loader div

2007-03-08 Thread amircx

hey... i want to load content inside tab, and whille that to show "loading"
image... i saw the api and i dont success to do it
what i did worng in here?

?>





//.fragment { display: none; }');
//]]>


/*
just to make this demo look a bit better...
*/
* {
margin: 0;
padding: 0;
}
body {
padding: 10px;
line-height: 1.4;
font-size: 16px; /* @ EOMB */
}
body * {
font-size: 87.5%;
font-family: "Trebuchet MS", Trebuchet, Verdana, Helvetica,
Arial, sans-serif;
}
body * * {
font-size: 100%;
}
h1 {
margin: 0 0 1em;
font-size: 143%;
}
h2 {
margin: 2em 0 1em;
}
h3 {
margin: 0 0 1em;
}
ul {
list-style: none;
}
p, pre {
margin: 1em 0 0;
}
code {
font-family: "Courier New", Courier, monospace;
}
div {
margin: 1.2em 0 0;
width: 50%;
}
div div {
margin: 0;
width: auto;
}
#container-10 div {
border: 1px solid #eaeaea;
background: transparent;
}
#container-10 div div {
border: 0;
}
#tested li {
display: inline;
}
#tested li:before {
content: ", ";
}
#tested li:first-child:before {
content: "";
}






//



   

 tes1t.php Section 25 
 tes2t.php Section 26 
 test.php Section 27 




-- 
View this message in context: 
http://www.nabble.com/jquery-tabs-and-loader-div-tf3371416.html#a9381472
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] release: Validation plugin beta 1

2007-03-08 Thread amircx

can you just upload the correct files with the correct versions so ill can
test if its my problem?
zip it to somewhere and ill be happy to report you 
and i didnt realise how to fix the "known issues " of ie6 bugs...

great work!


Jörn Zaefferer wrote:
> 
> amircx schrieb:
>> is anyone here tried to run this code on ie6 ? i wonder if its just my
>> browser or the versions of the files are incorrect
>>   
> I'm testing the plugin in Firefox 2, IE6 & 7 and Opera 9.1. Apart from 
> the issues reported on the plugin page, I never experienced any 
> problems. And the known issues are easy to avoid.
> 
> I read about different versions of IE6 causing problems on this list, 
> maybe you have on of those versions. Maybe posting your version number 
> of trying to get updates helps.
> 
> -- 
> Jörn Zaefferer
> 
> http://bassistance.de
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/release%3A-Validation-plugin-beta-1-tf3358465.html#a9371174
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] release: Validation plugin beta 1

2007-03-07 Thread amircx

is anyone here tried to run this code on ie6 ? i wonder if its just my
browser or the versions of the files are incorrect


fil-4 wrote:
> 
>> http://bassistance.de/jquery-plugins/jquery-plugin-validation/
> 
> Oh it's great.
> 
> I wonder though if your choice of writing class="{x:y;z:t}" is not
> potentially problematic.
> 
> As I see it:
> - it could be incompatible with CSS2.1 selectors
> - it is probably incompatible with jQuery selectors
> - it is *certainly* going to confuse a few users
> - it might confuse some browsers (though I guess you've tested this)
> 
> An alternative would be to write something like
> class="DEF-x-y_z-t"
> 
> (but I admit it's much uglier)   :)
> 
> -- Fil
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/release%3A-Validation-plugin-beta-1-tf3358465.html#a9349285
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] release: Validation plugin beta 1

2007-03-07 Thread amircx

try to using it with ie6
the sources are worng
i think you have zipped the version that is not working with ie6.
its writes "$.vaildiator is not an object"

Jörn Zaefferer wrote:
> 
> Hi folks,
> 
> just released beta 1 of my validation plugin. The list of problem was 
> reduced quite a lot, and currently I have no more outstanding feature 
> requests.
> 
> Most notable new features:
>  - dependency checking: The required method accepts both 
> jQuery-expressions and functions to compute whether a field is required 
> or not
>  - customizing error message handling: From doing it all yourself (and 
> still delegating to the default handler) to customizing the placement of 
> generated error messages
> 
> As usual, the updated plugin page: 
> http://bassistance.de/jquery-plugins/jquery-plugin-validation/
> 
> And considering the rather unfriendly format of the API docs, I uploaded 
> a standalone version of my API browser that features my five plugins: 
> http://jquery.bassistance.de/api-browser/plugins.html
> Among the rest it contains the essential validate()-method: 
> http://jquery.bassistance.de/api-browser/plugins.html#validateMap
> 
> I've also update the demos:
> http://jquery.bassistance.de/validate/demo-test/
> 
> I'd like to delay all further feature requests to post-1.0, now 
> concentrating on squishing all remaining issues, any help is appreciated.
> 
> Have fun!
> 
> -- 
> Jörn Zaefferer
> 
> http://bassistance.de
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/release%3A-Validation-plugin-beta-1-tf3358465.html#a9349040
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] dynamic put post data Jquery Forms plugin

2007-03-06 Thread amircx

hey
i got this script:
http://pastebin.ca/383636
what im trying to achive is that i got a form that user go to page and fill
it, while its loading its generate him id in hidden field, and i need to
pass the id in the hidden field to the next page...

how can i do that? my demo isnt working now

also, how can i echo the output of the page instad of everytime write
{staus:0, msg:'21'}

please help
thanks
-- 
View this message in context: 
http://www.nabble.com/dynamic-put-post-data-Jquery-Forms-plugin-tf3356323.html#a9334586
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Form validator 0.2 - onblur instad of onsubmit

2007-03-06 Thread amircx

hey.. i got this code
http://pastebin.ca/383367

now its validate on submit, i want to modify it to onblur... how do i do
that?
-- 
View this message in context: 
http://www.nabble.com/Form-validator-0.2---onblur-instad-of-onsubmit-tf3354347.html#a9328706
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] How Do i Assign error div to JQuery Validator Plugin Alpha 2 ?

2007-03-05 Thread amircx

oh ok :) but when you think its gonna happen?

by the way, i didnt realise how can i put the list of parameters inside my
code,


like instad of now :
$(document).ready(function() {
   
// bind form using 'ajaxForm'
$("#amir").validate({

 
submitHandler: function(form) { 
$(form).ajaxSubmit(options);

}


i want to put :


$(document).ready(function() {
   
// bind form using 'ajaxForm'
$("#amir").validate({

 
submitHandler: function(form) { 
$(form).ajaxSubmit(options);
   rules: {
firstname: { required: true },
age: { number: true },
password: { min: 5, max: 32 }
  },
  messages {
password: "Please enter a password between 5 and 32 characters long."
  }
   
}


i tried hours to figure out what i did worng... i didnt find out how to do
it
is that possible?
ill be glad if you tell me how to do it
thanks
btw: your pluigin rocks!


Jörn Zaefferer wrote:
> 
> amircx schrieb:
>> hey, i got the following code (i fixed the ie6 bugs and stuff)
>>
>>
>> now i need to figure out how can i assign the div the shows errors in
>> each
>> input? i saw the demos but the problem is that i want to control on each
>> div
>> position with my css.. .is that possible ? or anyone can shows me how to
>> do
>> it in diffrent way that i will able to control the positions on each
>> error
>> div?
>>   
> That is the last feature that I'm going to implement in 1.0. I'll 
> release the first beta once that is in, please be patient until then :-)
> 
> Regards
> 
> -- 
> Jörn Zaefferer
> 
> http://bassistance.de
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-Do-i-Assign-error-div-to-JQuery-Validator-Plugin-Alpha-2---tf3342587.html#a9307207
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] How Do i Assign error div to JQuery Validator Plugin Alpha 2 ?

2007-03-05 Thread amircx

how ok :) but when you think its gonna happen?

Jörn Zaefferer wrote:
> 
> amircx schrieb:
>> hey, i got the following code (i fixed the ie6 bugs and stuff)
>>
>>
>> now i need to figure out how can i assign the div the shows errors in
>> each
>> input? i saw the demos but the problem is that i want to control on each
>> div
>> position with my css.. .is that possible ? or anyone can shows me how to
>> do
>> it in diffrent way that i will able to control the positions on each
>> error
>> div?
>>   
> That is the last feature that I'm going to implement in 1.0. I'll 
> release the first beta once that is in, please be patient until then :-)
> 
> Regards
> 
> -- 
> Jörn Zaefferer
> 
> http://bassistance.de
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-Do-i-Assign-error-div-to-JQuery-Validator-Plugin-Alpha-2---tf3342587.html#a9307128
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] How Do i Assign error div to JQuery Validator Plugin Alpha 2 ?

2007-03-04 Thread amircx

hey, i got the following code (i fixed the ie6 bugs and stuff)


now i need to figure out how can i assign the div the shows errors in each
input? i saw the demos but the problem is that i want to control on each div
position with my css.. .is that possible ? or anyone can shows me how to do
it in diffrent way that i will able to control the positions on each error
div?

(i mean the "please enter password"
divs'...)


ill be glad if someone will paste me a demo into this code or similar

thanks



http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";>

 


 



 
 
function pre(formdata) {
   $("#ab").html('loading');
  
}
function po(response) {
 var response = eval('('+ response +')');
 
 if( response.status != "error" ) {
   statusmsg = "Thanks for the submit";
 } else {
   statusmsg = "Your form submission was not succesful";
 }
 
 $("#ab").html(response.data );
}
var options = { 
   beforeSubmit:  pre,  // pre-submit callback
   success:   po, // post-submit callback
   type:'post',
 
   url: 'test2.php'
};
 
$(document).ready(function() {
   
// bind form using 'ajaxForm'
$("#amir").validate({


submitHandler: function(form) { 
$(form).ajaxSubmit(options);

}
});
}); 

















 

 

 
  
  password
  
please enter password


  firstname
  
Please fill the name!

  
sdsd

 

  
-- 
View this message in context: 
http://www.nabble.com/How-Do-i-Assign-error-div-to-JQuery-Validator-Plugin-Alpha-2---tf3342587.html#a9296307
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] IE6 + Form Validator bug "object dosent support this property or method"

2007-03-04 Thread amircx

no one answered me, guess i wrote the subject worng ... please help ...

 when i run form validator from
http://bassistance.de/jquery-plugins/jquery-plugin-validation/ , after
putting the uncompressed version, its working fine in ie 7 but in ie 6 its
returns me error: 
(here is the code: http://www.amir.cx/ajax/test3/stable.php  ) [you can also
get the source zipped there] 
object dosent support this property or method " line 34 

if i just download the files from the site without changes (except of using
the uncompressed version) it its returns me error for example at page:
custom-methods-demo.html 

error: 
line 18, char 2 : "$.validator is null or not an object" 


wierd, and im consider if i should use this plugin cause its working fine
with ff and ie7 , but 90% of my users have ie6 will be a fix for it
soon? or just can zip me a working code ? 
-- 
View this message in context: 
http://www.nabble.com/IE6-%2B-Form-Validator-bug-%22object-dosent-support-this-property-or-method%22-tf3341828.html#a9294202
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Form validator 0.2 causes problems in IE6

2007-03-01 Thread amircx

the link is now working... not sure if it was before ;) try now


amircx wrote:
> 
> hey, when i run form validator from
> http://bassistance.de/jquery-plugins/jquery-plugin-validation/ , after
> putting the uncompressed version, its working fine in ie 7 but in ie 6 its
> returns me error: 
> (here is the code: http://www.amir.cx/ajax/test3/stable.php  ) [you can
> also get the source zipped there]
> object dosent support this property or method " line 34
> 
> if i just download the files from the site without changes (except of
> using the uncompressed version) it its returns me error for example at
> page: custom-methods-demo.html 
> 
> error: 
> line 18, char 2 : "$.validator is null or not an object"
> 
> 
> wierd, and im consider if i should use this plugin cause its working fine
> with ff and ie7 , but 90% of my users have ie6 will be a fix for it
> soon? or just can zip me a working code ?
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Form-validator-0.2-causes-problems-in-IE6-tf3307939.html#a9247549
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] how to make the function in forms + ajax?

2007-03-01 Thread amircx

guess no one knows ? :(


amircx wrote:
> 
> hey. im using the ajax form plugin of jroes,
> http://www.amir.cx/ajax/test3/stable.php
> till now i success to do the rules inside the tag, but where i can put
> inside that code a properties like 
> 
>   rules: {
> firstname: { required: true },
> age: { number: true },
> password: { min: 5, max: 32 }
>   },
>   messages {
> password: "Please enter a password between 5 and 32 characters long."
>   }
> }); and thing such : $("#myform").validate({
>   errorClass: "invalid",
>   errorContainer: $("#messageBox"),
>   errorWrapper: "li"
> });
> 
> cause i already defined there $(#amir).validate...
> 
> anyone can explain me how to do it?
> http://www.amir.cx/ajax/test3/stable.php
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-make-the-function-in-forms-%2B-ajax--tf3308618.html#a9247476
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] jquery upload... what are you using?

2007-02-28 Thread amircx

hey. i wonder what is the most used or what u are using for uploading files
with ajax and jquery... i found serval but i really dont know what to
pick... suggestions?
-- 
View this message in context: 
http://www.nabble.com/jquery-upload...-what-are-you-using--tf3308624.html#a9203250
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] how to make the function in forms + ajax?

2007-02-28 Thread amircx

hey. im using the ajax form plugin of jroes,
http://www.amir.cx/ajax/test3/stable.php
till now i success to do the rules inside the tag, but where i can put
inside that code a properties like 

  rules: {
firstname: { required: true },
age: { number: true },
password: { min: 5, max: 32 }
  },
  messages {
password: "Please enter a password between 5 and 32 characters long."
  }
}); and thing such : $("#myform").validate({
  errorClass: "invalid",
  errorContainer: $("#messageBox"),
  errorWrapper: "li"
});

cause i already defined there $(#amir).validate...

anyone can explain me how to do it?
http://www.amir.cx/ajax/test3/stable.php
-- 
View this message in context: 
http://www.nabble.com/how-to-make-the-function-in-forms-%2B-ajax--tf3308618.html#a9203236
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Form validator 0.2 causes problems in IE6

2007-02-28 Thread amircx

hey, when i run form validator from
http://bassistance.de/jquery-plugins/jquery-plugin-validation/ , after
putting the uncompressed version, its working fine in ie 7 but in ie 6 its
returns me error: 
(here is the code: http://pastebin.ca/374655  )
object dosent support this property or method " line 34

if i just download the files from the site without changes (except of using
the uncompressed version) it its returns me error for example at page:
custom-methods-demo.html 

error: 
line 18, char 2 : "$.validator is null or not an object"


wierd, and im consider if i should use this plugin cause its working fine
with ff and ie7 , but 90% of my users have ie6 will be a fix for it
soon? 




-- 
View this message in context: 
http://www.nabble.com/Form-validator-0.2-causes-problems-in-IE6-tf3307939.html#a9201333
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Validation plugin 1.0 alpha 2

2007-02-27 Thread amircx

ummm
can you tell me what exact files i should put there ?
i just kinda confuised cause i saw too mutch of versions of these in the
past day...

;)



Jörn Zaefferer wrote:
> 
> amircx schrieb:
>> i dont have the old version
>>   
> Just use jquery.validate.js in your code. It's included in the download. 
> Though that only prevents any problems occuring with the compressed 
> version. Let me know if others occur.
> 
> -- 
> Jörn Zaefferer
> 
> http://bassistance.de
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Validation-plugin-1.0-alpha-2-tf3256884.html#a9193292
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Validation plugin 1.0 alpha 2

2007-02-27 Thread amircx

i dont have the old version
can you give me link for it or send me trough messenger / icq / email?

icq: 8669159
email : [EMAIL PROTECTED] 
msn : [EMAIL PROTECTED]


thanks!


Jörn Zaefferer wrote:
> 
> amircx schrieb:
>>  ive downloaded the version you linked and
>> for somereason its not working
>> i copied it AS IS to my server , just changed the directory
>>
>> http://www.amir.cx/ajaxtest/test.html
>>
>> i think you have bug there... in ff its works... 
>> ie returns errors
>>   
> Could you stick with the uncompressed version until the plugin is out of 
> alpha stage? Compressed isn't ready yet and simply doesn't work. I 
> shouldn't have included it in the release, sorry for that confusion.
> 
> -- 
> Jörn Zaefferer
> 
> http://bassistance.de
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Validation-plugin-1.0-alpha-2-tf3256884.html#a9192707
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Strange bug in jquery forms 1.0

2007-02-27 Thread amircx

ive downloaded the zip and exctract it without any changes and upload it
into:

http://www.amir.cx/ajax/test2/demo-test/ajaxSubmit-intergration-demo.html

take a look, there is a error on line 31 , and also ive dropped the
$.validator.debug line witch also caused error (somthing undefined)

hope you will fix it soon cause its dont work.. but really nice job you did
man!
-- 
View this message in context: 
http://www.nabble.com/Strange-bug-in-jquery-forms-1.0-tf3299370.html#a9177976
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Integrate Form plugin with jQuery plugin Validation

2007-02-27 Thread amircx

hey... still not working ... its writes that he expects ":" on line 35

the online files are on: http://www.amir.cx/ajax/test1/test3.php

please if you can take a look and see whats worng...
thanks
;)




Jörn Zaefferer wrote:
> 
> amircx schrieb:
>> hey.
>> ive built a form  thats sends data Asynchronously...
>> im trying to integrate it with the Validation plugin
>> (http://bassistance.de/jquery-plugins/jquery-plugin-validation/)
>> seems not work
>> anyone can take a look or just paste here a code that he success to do ?
>> i want that the user will not able to submit the data until the client
>> site
>> js is verified
>>
>> http://pastebin.ca/371649 
>>   
> I've edited your code a bit, see the description at the top: 
> http://pastebin.ca/373215
> 
> If that doesn't work, post an example of your page, or at least the 
> error occuring. Try Firefox with Firebug for debugging.
> 
> -- 
> Jörn Zaefferer
> 
> http://bassistance.de
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Integrate-Form-plugin-with-jQuery-plugin-Validation-tf3292006.html#a9177794
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Validation plugin 1.0 alpha 2

2007-02-26 Thread amircx

 ive downloaded the version you linked and
for somereason its not working
i copied it AS IS to my server , just changed the directory

http://www.amir.cx/ajaxtest/test.html

i think you have bug there... in ff its works... 
ie returns errors


Jörn Zaefferer wrote:
> 
> Stefan Kilp [sk-software] schrieb:
>> Hi,
>>
>> there is a realy serious bug in your demo
>>
>> http://jquery.bassistance.de/validate/demo-test/custom-methods-demo.html
>>
>> please look at the source
>>
>> 7 + 4 is NOT 13 it is 11 :-)
>>
>> btw: great news, i like to use it for my next project
>>   
> Thanks for pointing that out, didn't notice it for about half a year :-)
> 
> Let me know about your experience with the plugin when using it on a 
> project. At some point I'd like to present some example serverside 
> integrations, so if you may have anything in that area, I'm interested!
> 
> -- 
> Jörn Zaefferer
> 
> http://bassistance.de
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Validation-plugin-1.0-alpha-2-tf3256884.html#a9160415
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Integrate Form plugin with jQuery plugin Validation

2007-02-26 Thread amircx

hey.
ive built a form  thats sends data Asynchronously...
im trying to integrate it with the Validation plugin
(http://bassistance.de/jquery-plugins/jquery-plugin-validation/)
seems not work
anyone can take a look or just paste here a code that he success to do ?
i want that the user will not able to submit the data until the client site
js is verified

http://pastebin.ca/371649 

thanks for help
amir
-- 
View this message in context: 
http://www.nabble.com/Integrate-Form-plugin-with-jQuery-plugin-Validation-tf3292006.html#a9156566
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/