[jQuery] Re: Include javafile

2007-11-01 Thread seedy


I cant see any immediate reason why that would not work, however I thought i
would point out that putting your scripts at the bottom of the page is
actually the recommended way of including scripts.

http://developer.yahoo.com/performance/rules.html#js_bottom



Muhammad Mohsin wrote:
 
 i mean in head of the page.
 head
 meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
 ?
 include($ROOT_PATH/includes/meta.php);
 ?
 script src=? echo $URL_PATH; ?/javascript/jquery/jquery.js
 type=text/javascript /script
 script src=? echo $URL_PATH; ?/javascript/jquery/jquery.livequery.js
 type=text/javascript /script
 script src=? echo $URL_PATH; ?/javascript/listings_java.js
 language=javascript/script
 script src=? echo $URL_PATH; ?/javascript/jquery/imagebox.js
 type=text/javascript /script
 script src=? echo $URL_PATH; ?/javascript/jquery/iutil.js
 type=text/javascript /script
 script src=? echo $URL_PATH; ?/javascript/overlib/overlib.js
 type=text/javascript /script
 script src=? echo $URL_PATH; ?/javascript/jquery/jcarousellite.js
 type=text/javascript/script
 script src=? echo $URL_PATH; ?/javascript/jquery/easing.js
 type=text/javascript/script
 script src=? echo $URL_PATH; ?/javascript/jquery/support.js
 type=text/javascript/script
 
 
 listing java doesn't work here but works well when i write this code in
 end
 of page
 
 
 /head
 
 On 11/1/07, mohsin [EMAIL PROTECTED] wrote:


 I am using separate javascript file for the function I have written.
 When I include this file in header of my page these function doesn't
 worked. But when I include it in the bottom of page it start working.
 I want to include it in header can anyone help me.


 
 

-- 
View this message in context: 
http://www.nabble.com/Include-javafile-tf4730715s27240.html#a13530490
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: Site Submission: ministryofsound.com

2007-10-31 Thread seedy


Makes me smile to see folks stateside listening to the tea party.


John Resig wrote:
 
 
 That's exciting - I love the albums that Ministry of Sound puts out. I
 think my last.fm page captures that pretty well ;-)
 
 http://www.last.fm/user/jeresig
 
 --John
 
 On 10/31/07, Sam Sherlock [EMAIL PROTECTED] wrote:
 The world Famous Club venue Ministry of Sound is using jQuery

 slide toggles, ajax and some additonal sprinkles of jQ

 did'nt see it included on the powered by jQ page, though
 its quite basic use of jQ its a prominant site.

 - S



 
 

-- 
View this message in context: 
http://www.nabble.com/Site-Submission%3A-ministryofsound.com-tf4723288s27240.html#a13512368
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: submit buttons added to form don't work

2007-10-10 Thread seedy



http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F


robing-2 wrote:
 
 
 Hello Group,
 
 This is my first post to the group and I am pretty new to the jquery
 and I have just come up against a slight problem that I can't resolve
 so any help would be greatly appreciated.
 
 
 I have a small form that when the submit button is clicked gets the
 form input saved to a database via xmlhttprequest,  when i get the
 call back from the server i then inject new buttons to the bottom of
 the form so the previous settings can be updated, however my problem
 is that even though I can see and click on the newly added buttons
 when i click on them nothing happens at all not even a click event.
 What am i doing wrong?
 
 
 $('#panal_add').click(function(){
   $(form).bind(submit, function() { return false; })
   //get the form data to be passed to the php file
   $.get(update.php,
 {form varables},
   function(data)
{
   //inject different form submit buttons in to 
 the div element
   var buttons = 
 document.getElementById(buttons_div);
   buttons.innerHTML = 
   input type='submit' name='panal_update' 
 value='Update Details'
 id='panal_update' class='bttn' /
   input type='submit' name='details_delete' 
 value='Delete Panal'
 id='panal_delete' class='bttn' /
   /form;
 
}
   );
 })
 
 $('#panal_update').click(function(){
   alert(hello);
 })
 
 
 

-- 
View this message in context: 
http://www.nabble.com/submit-buttons-added-to-form-don%27t-work-tf4603575s27240.html#a13145141
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: submit buttons added to form don't work

2007-10-10 Thread seedy


I should have mentioned there is a plugin that will help with also called
livequery
http://brandonaaron.net/docs/livequery/


robing-2 wrote:
 
 
 Thanks for that link seedy, I have managed to get the new buttons
 working by adding the click events back on the elements after the dom
 changes.
 I added the the click function to a variable to another function which
 i call after i change the dom.
 
 
  $('#panal_add').click(function(){
 $(form).bind(submit, function() { return false; })
 //get the form data to be passed to the php file
 $.get(update.php,
  {form varables},
 function(data)
  {
 //inject different form submit buttons in
 to the div element
 now rebind the click events by calling the
 function
 bindCreateBehaviors();
   }
 );
  })
 
 var bindCreateBehaviors = function() {
   $('#panal_update).click(function(){ rest of function behaviour
 
 })
 
 
 thanks again.
 
 
 On Oct 11, 10:24 am, seedy [EMAIL PROTECTED] wrote:
 http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st...





 robing-2 wrote:

  Hello Group,

  This is my first post to the group and I am pretty new to the jquery
  and I have just come up against a slight problem that I can't resolve
  so any help would be greatly appreciated.

  I have a small form that when the submit button is clicked gets the
  form input saved to a database via xmlhttprequest,  when i get the
  call back from the server i then inject new buttons to the bottom of
  the form so the previous settings can be updated, however my problem
  is that even though I can see and click on the newly added buttons
  when i click on them nothing happens at all not even a click event.
  What am i doing wrong?

  $('#panal_add').click(function(){
 $(form).bind(submit, function() { return false; })
 //get the form data to be passed to the php file
 $.get(update.php,
   {form varables},
 function(data)
  {
 //inject different form submit buttons in to
 the div element
 var buttons =
 document.getElementById(buttons_div);
 buttons.innerHTML = 
 input type='submit' name='panal_update'
 value='Update Details'
  id='panal_update' class='bttn' /
 input type='submit' name='details_delete'
 value='Delete Panal'
  id='panal_delete' class='bttn' /
 /form;

  }
 );
  })

  $('#panal_update').click(function(){
 alert(hello);
  })

 --
 View this message in
 context:http://www.nabble.com/submit-buttons-added-to-form-don%27t-work-tf460...
 Sent from the jQuery General Discussion mailing list archive at
 Nabble.com.- Hide quoted text -

 - Show quoted text -
 
 
 

-- 
View this message in context: 
http://www.nabble.com/submit-buttons-added-to-form-don%27t-work-tf4603575s27240.html#a13148147
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: submit buttons added to form don't work

2007-10-10 Thread seedy


haha, i totally didn't realize the faq mentioned the plugin.  i should goto
sleep...

seedy wrote:
 
 I should have mentioned there is a plugin that will help with also called
 livequery
 http://brandonaaron.net/docs/livequery/
 
 
 robing-2 wrote:
 
 
 Thanks for that link seedy, I have managed to get the new buttons
 working by adding the click events back on the elements after the dom
 changes.
 I added the the click function to a variable to another function which
 i call after i change the dom.
 
 
  $('#panal_add').click(function(){
 $(form).bind(submit, function() { return false; })
 //get the form data to be passed to the php file
 $.get(update.php,
  {form varables},
 function(data)
  {
 //inject different form submit buttons in
 to the div element
 now rebind the click events by calling the
 function
 bindCreateBehaviors();
   }
 );
  })
 
 var bindCreateBehaviors = function() {
  $('#panal_update).click(function(){ rest of function behaviour
 
 })
 
 
 thanks again.
 
 
 On Oct 11, 10:24 am, seedy [EMAIL PROTECTED] wrote:
 http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st...





 robing-2 wrote:

  Hello Group,

  This is my first post to the group and I am pretty new to the jquery
  and I have just come up against a slight problem that I can't resolve
  so any help would be greatly appreciated.

  I have a small form that when the submit button is clicked gets the
  form input saved to a database via xmlhttprequest,  when i get the
  call back from the server i then inject new buttons to the bottom of
  the form so the previous settings can be updated, however my problem
  is that even though I can see and click on the newly added buttons
  when i click on them nothing happens at all not even a click event.
  What am i doing wrong?

  $('#panal_add').click(function(){
 $(form).bind(submit, function() { return false; })
 //get the form data to be passed to the php file
 $.get(update.php,
   {form varables},
 function(data)
  {
 //inject different form submit buttons in
 to the div element
 var buttons =
 document.getElementById(buttons_div);
 buttons.innerHTML = 
 input type='submit' name='panal_update'
 value='Update Details'
  id='panal_update' class='bttn' /
 input type='submit' name='details_delete'
 value='Delete Panal'
  id='panal_delete' class='bttn' /
 /form;

  }
 );
  })

  $('#panal_update').click(function(){
 alert(hello);
  })

 --
 View this message in
 context:http://www.nabble.com/submit-buttons-added-to-form-don%27t-work-tf460...
 Sent from the jQuery General Discussion mailing list archive at
 Nabble.com.- Hide quoted text -

 - Show quoted text -
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/submit-buttons-added-to-form-don%27t-work-tf4603575s27240.html#a13148171
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: JQuery AJAX with .NET - Limitations

2007-10-04 Thread seedy


I am not sure what you are trying to do in case 1.  In case 2, the cause is
because iis doesn't serve ascx files.  Browse to
http:://website/wucPeopleList.ascx.  What you see if the same thing jquery
sees when you try to post to it.  

It is my understanding you can continue to use AJAXpro on the serverside,
and use jquery to make the requests.


anandp wrote:
 
 I've been trying to use jquery AJAX with .NET and noticed the following
 limitation. 
 
 NOTE: I don't have the below problems if I use AjaxPro, just wanted to do
 the same with JQuery. Is this is possible, or should I just stick with
 AjaxPro.
 
 1) Cannot return a Datatable to the callback function 
 
   [AjaxPro.AjaxMethod()]
 public System.Data.DataTable GetTestCaseById(int Id)
 {
objTestCase.TestCaseCode = Id;
return objTestCase.GetTestCaseById(objTestCase).Tables[0];
 }
 
   var ResDataTable=Bubya.TestCase.GetTestCaseById(Id).value;
   if(ResDataTable!=null){
$('#testcase').value=ResDataTable.Rows[0][testcase_summary];
 }
 
 
 2) Cannot post to a user control
 
  $(document).ready(function() { 
  $.post( wucPeopleList.ascx, 
 {   call_type: 'UpdateAccessRights',
  user_code: UserCode
  },
  function(response){ 
  }
  );  
}
);
 
 Regards,
 Anand
 

-- 
View this message in context: 
http://www.nabble.com/JQuery-AJAX-with-.NET---Limitations-tf4569252s27240.html#a13047980
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: Forms with asp.net

2007-10-01 Thread seedy


asp.net controls should not interfere with the forms plugin.
Do you have a demo page we could take a look at?  Right not Im not even 100%
sure what your problem you are having.


Sharique Farooqui wrote:
 
 
 Right now I'm not using asp.net Ajax.
 I'm using some asp.net controls on it.
 Is this causing problem?
 
 On Sep 29, 5:15 pm, seedy [EMAIL PROTECTED] wrote:
 I've never used the update panel, so im not sure of all its
 functionality.
 The forms plugin should let you submit a form through an ajax request.
 Are you using asp.net ajax and jQuery at the same time?  I think there
 could
 be some problems doing that as they both make use of the $



 Sharique Farooqui wrote:

  yes I mean qury form plugin.
  I'm trying but not getting sucess.
  I think it can be used as replacement of asp.net update panel, what u
  think?

  On Sep 26, 7:50 pm, Danjojo [EMAIL PROTECTED] wrote:
  What do you mean by jQuery forms?

  On Sep 26, 10:49 am, Sharique [EMAIL PROTECTED] wrote:

   Hi,
   Did anybody has tried jquery forms with asp.net?
   --
   Sharique

 --
 View this message in
 context:http://www.nabble.com/Forms-with-asp.net-tf4522863s27240.html#a12954974
 Sent from the jQuery General Discussion mailing list archive at
 Nabble.com.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Forms-with-asp.net-tf4522863s27240.html#a12984480
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: Forms with asp.net

2007-09-29 Thread seedy


I've never used the update panel, so im not sure of all its functionality. 
The forms plugin should let you submit a form through an ajax request.
Are you using asp.net ajax and jQuery at the same time?  I think there could
be some problems doing that as they both make use of the $


Sharique Farooqui wrote:
 
 
 yes I mean qury form plugin.
 I'm trying but not getting sucess.
 I think it can be used as replacement of asp.net update panel, what u
 think?
 
 On Sep 26, 7:50 pm, Danjojo [EMAIL PROTECTED] wrote:
 What do you mean by jQuery forms?

 On Sep 26, 10:49 am, Sharique [EMAIL PROTECTED] wrote:

  Hi,
  Did anybody has tried jquery forms with asp.net?
  --
  Sharique
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Forms-with-asp.net-tf4522863s27240.html#a12954974
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: Validation plugin noob

2007-09-28 Thread seedy


are your fields inside a table?
I was seeing that in IE, if fields were in a table cell, the errors were
being added but the cell wasn't getting larger and the errors could not be
seen.


Josh Nathanson-3 wrote:
 
 
 Hey all,
 
 Using Jorn's Validation plugin, it's not displaying the error message.  I 
 must be missing something obvious.  I'm just trying a test - it seems like 
 when I submit, if the field is empty, it should display an error message 
 after the input field.  What am I doing wrong?
 
 JS:
 $(#editform).validate({
   rules: {
 FirstName : required
 },
   messages: {
 FirstName : Please enter your first name.
 },
   debug: true
  });
 
 Markup:
 input type=Text size=30 name=FirstName id=FirstName value= 
 class=formfield maxlength=50
 
 -- Josh 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Validation-plugin-noob-tf4536315s15494.html#a12948063
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Site Using jQuery - Network Solutions

2007-09-27 Thread seedy


funny, I just had a co-worker Ive been introducing to jQuery yesterday say:
[jQuery is] worth including even if only for the document.ready function


Glen Lipka wrote:
 
 Network Solutions just revamped their whole account manager.
 Guess what library they depend on?  It rhymes with Mayberry.
 
 Looking at the code, it looks like they have a million places they SHOULD
 be
 using jQuery, but they don't use it anywhere I can see except 1 single
 line:
 
 $(document).ready(function(){initMenu();});
 
 That's all?  They have lines like this everywhere:
 
 document.getElementById(myElementID).className = useClass;
 
 Oh Well, it's a step in the right direction I suppose.
 
 Glen
 
 

-- 
View this message in context: 
http://www.nabble.com/Site-Using-jQuery---Network-Solutions-tf4526470s15494.html#a12923393
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Replace XPath Selectors and Removed DOM Traversal Methods

2007-09-26 Thread seedy


but a lot of plugins like css selectors.  
having multiple selector plugins could cause a dependency nightmare.


Muescha wrote:
 
 
 maybe
 
 but i think it would be better to extract all selectors in external
 selectors pligins - so i can include the selector methods i need
 
 i dont like the css selectors - so i dont need it.
 
 
 On Sep 25, 8:37 pm, Danjojo [EMAIL PROTECTED] wrote:
 Was the main reason for the removal ofXPathfrom the jQuery library
 to keep the core library small?
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Replace-XPath-Selectors-and-Removed-DOM-Traversal-Methods-tf4518656s15494.html#a12904288
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Forms with asp.net

2007-09-26 Thread seedy


If you mean the forms plugin, then yes I am using it in a .Net app


Sharique Farooqui wrote:
 
 
 Hi,
 Did anybody has tried jquery forms with asp.net?
 --
 Sharique
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Forms-with-asp.net-tf4522863s15494.html#a12907269
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: BlockUI question

2007-09-20 Thread seedy


I've pulled this off before by not using the built in $.unblockUI()
You can do:
$('.blockUI').hide() or
$('.blockUI').fade()



Gordon-35 wrote:
 
 
 I have been using the blockUI extension for a while and am overall
 happy with it, but I do have one issue that I would like to resolve
 with it.
 
 As far as I can tell the blockUI extension destroys the element it is
 using to display as it's message when you unblockUI.  This isn't an
 issue for simple dialog boxes, but I have one dialog in my project
 that is computed dynamically by the javascript and it's generation can
 have a rather large overhead.  I don't want to have to regenerate this
 dialog every time I display it, so I'd rather just set it display:
 none when it's not needed instead.  Can you do this with blockUI?
 
 
 

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



[jQuery] validation - multiple errorPlacements

2007-09-19 Thread seedy


Is it possible to use errorPlacement with the validation plugin to have a
different placement for each field validated?

ie.
$('#testForm').validate({
rules:{
firstname:{required:true},
integer:{required:true}
}
})

I would like to have the error for firstname appended to $('#div1') , and
errors for integer before $('#div2')



-- 
View this message in context: 
http://www.nabble.com/validation---multiple-errorPlacements-tf4482247s15494.html#a12781506
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: PERFORMANCE TIP: removeClass()

2007-09-19 Thread seedy


just curious how would that compare to
$(...).attr('class','');


Jonathan Sharp-2 wrote:
 
 *Do not do:*
 $(...).removeClass('a').removeClass('b').removeClass('c');
 
 *Instead do:*
 $(...).removeClass('a b c');
 
 Same applys to addClass()
 
 I had 15 classes I had to remove and Firefox was a champ at chained
 removeClass calls, IE was taking 760ms!
 
 -js
 
 

-- 
View this message in context: 
http://www.nabble.com/PERFORMANCE-TIP%3A-removeClass%28%29-tf4482293s15494.html#a12781851
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: validation - multiple errorPlacements

2007-09-19 Thread seedy


wow I hadn't considered using an if to check the id of the element.  Feeling
really dumb right now.  Thanks!


Jörn Zaefferer wrote:
 
 
 seedy schrieb:
 Is it possible to use errorPlacement with the validation plugin to have a
 different placement for each field validated?

 ie.
 $('#testForm').validate({
  rules:{
  firstname:{required:true},
  integer:{required:true}
  }
 })

 I would like to have the error for firstname appended to $('#div1') , and
 errors for integer before $('#div2')
   
 You can use the errorPlacement option for that. Its far from perfect, 
 but allows you to do every placement you can think of.
 
 One example of the usage of errorPlacement can be found here: 
 http://dev.jquery.com/view/trunk/plugins/validate/demo-test/milk/
 The interesting part:
 
 |// the errorPlacement has to take the table layout into account 
 errorPlacement: function(error, element) { 
 if ( element.is(:radio) ) 
 error.appendTo( element.parent().next().next() ); 
 else if ( element.is(:checkbox) ) 
 error.appendTo ( element.next() ); 
 else 
 error.appendTo( element.parent().next() ); 
 }, 
 |
 
 -- Jörn
 
 

-- 
View this message in context: 
http://www.nabble.com/validation---multiple-errorPlacements-tf4482247s15494.html#a12783968
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: validation - multiple errorPlacements

2007-09-19 Thread seedy


ok now a follow up question

I have 3 text boxes that make up a telephone number.  I want validation to
fail if any of the text boxes are not complete, but I only want to show one
message for the failure, not one per textbox.  Any recommended ways of doing
this?



Jörn Zaefferer wrote:
 
 
 seedy schrieb:
 Is it possible to use errorPlacement with the validation plugin to have a
 different placement for each field validated?

 ie.
 $('#testForm').validate({
  rules:{
  firstname:{required:true},
  integer:{required:true}
  }
 })

 I would like to have the error for firstname appended to $('#div1') , and
 errors for integer before $('#div2')
   
 You can use the errorPlacement option for that. Its far from perfect, 
 but allows you to do every placement you can think of.
 
 One example of the usage of errorPlacement can be found here: 
 http://dev.jquery.com/view/trunk/plugins/validate/demo-test/milk/
 The interesting part:
 
 |// the errorPlacement has to take the table layout into account 
 errorPlacement: function(error, element) { 
 if ( element.is(:radio) ) 
 error.appendTo( element.parent().next().next() ); 
 else if ( element.is(:checkbox) ) 
 error.appendTo ( element.next() ); 
 else 
 error.appendTo( element.parent().next() ); 
 }, 
 |
 
 -- Jörn
 
 

-- 
View this message in context: 
http://www.nabble.com/validation---multiple-errorPlacements-tf4482247s15494.html#a12784330
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: get all checkboxes

2007-09-19 Thread seedy


if you know the 'my_' is always at the start of the id this might be a bit
faster

$(input[id^='my_']:checkbox)


Glen Lipka wrote:
 
 Try $(input[id*='my_']:checkbox)
 I havent tested this, but it should work.
 
 Glen
 
 On 9/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



 Hello,

 is it possible in prototype to get all checkboxes on a page with a fixed
 id namepart like this:

 ID=my_checkbox

 and i want to get all checkboxes beginning on my_

 
 Virus checked by G DATA AntiVirusKit
 Version: AVK 17.7901 from 19.09.2007
 Virus news: www.antiviruslab.com



 
 

-- 
View this message in context: 
http://www.nabble.com/get-all-checkboxes-tf4481356s15494.html#a12785057
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: blockUI IE6 checkbox

2007-09-17 Thread seedy


I must be hallucinating
I swear this was working on friday.

I just checked it and the same problem seems to be occuring in IE6/7
http://devweb1.ttisolutions.com/jqueryTests/blockui/



malsup wrote:
 
 
 Thanks for the fix, Ted!  Great work!   I've made the change and checked
 it in.
 
 http://jqueryjs.googlecode.com/svn/trunk/plugins/blockUI/jquery.blockUI.js
 
 Mike
 
 
 On 9/13/07, Theodore Ni [EMAIL PROTECTED] wrote:
 I took a quick look at the blockUI code, and you can fix the problem by
 changing the bind function to this:

 // bind/unbind the handler
 bind: function(b, el) {
 var full = el == window;
 // don't bother unbinding if there is nothing to unbind
 if (!b  (full  !this.pageBlock || !full  !el.$blocked))
 return;
 if (!full) el.$blocked = b;
 var $e = $(el).find('a,:input');

 $.each(['mousedown','mouseup','keydown','keypress','click'],
 function(i,o) {
 $e[b?'bind':'unbind'](o, $.blockUI.impl.handler);
 });
 },

 I don't know if this will have any other side effects, so use with care
 until Mike can let us know for sure.


 On 9/13/07, seedy  [EMAIL PROTECTED] wrote:
 
 
  sorry for the delay, finally got one up
 
  http://devweb1.ttisolutions.com/jqueryTests/blockui/
 
  The problem seems to happen in all browsers I test it in, althought the
  element blocking doesnt seem to have a problem in firefox.
 
 
 
  malsup wrote:
  
  
   Do you have a sample page that shows the problem?  That would be
   helpful for me.  Thanks.
  
   Mike
  
  
   On 9/5/07, seedy [EMAIL PROTECTED] wrote:
  
  
   Setting the fade to false does not appear to be solving the issue
 for
 me.
  
  
  
   malsup wrote:
   
seedy,
   
Try adding this to your page:
   
$.blockUI.defaults.fadeOut = false;
   
I think this is an issue with animation.
   
Mike
   
   
   
On 9/4/07, seedy  [EMAIL PROTECTED] wrote:
   
   
   
Has anyone been able to reproduce this or am I just crazy ?
   
   
seedy wrote:

 I have a few checkboxes that fire an ajax request, and use
 blockUI
   to
 block an element during this request.
 Problem is, the checkbox gets 'unchecked' whenever blockUI
 shows
 up.
 Its reproducible with the following code (appears to not just
 affect
 element blocking)

 html
 body
   input type=checkboxcheck me /input
 /body
 script lang=javascript type=text/javascript
 src=jquery-1.1.4.pack.js /script
 script lang=javascript type=text/javascript
src=jquery.blockUI.js
 /script
 script
  $(function(){
   $('input:checkbox').click(function(){
 alert('booga');
$.blockUI();
});
  });
 /script
 /html

 You will see the box get checked, then when the alert goes
 away,
 it
 magically becomes unchecked.  Any ideas?

   
--
View this message in context:
   
  
 http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12478271
Sent from the JQuery mailing list archive at Nabble.com.
   
   
   
   
  
   --
   View this message in context:
  
 http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12499248
   Sent from the JQuery mailing list archive at Nabble.com.
  
  
  
  
 
  --
  View this message in context:
 http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12661238
  Sent from the JQuery mailing list archive at Nabble.com.
 
 



 --
 Ted
 
 

-- 
View this message in context: 
http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12738901
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: jQuery UI praises and questions

2007-09-17 Thread seedy


Can the jQuery UI group be accessed using nabble?
I prefer to use nabble and I didn't see it in the search


John Resig wrote:
 
 
 Please PLEASE keep them separate, I don't understand why this is an
 issue. If you're doing stuff with jQuery UI, please post the issues in
 the jQuery UI list. If you're only using jQuery + other plugins, post
 in the main list. Simple.
 
 --John
 
 On 9/17/07, Rick Faircloth [EMAIL PROTECTED] wrote:

 I tend to agree with Andy...

 Is it *really* necessary to divide the conversations about jQuery and its
 UI
 into two separate mailing lists?  Will the subject matter for each list
 have
 more or less in common with each other?

 If the subject matter tends to overlap, combine the lists.
 If the subject matter on jQuery tends to have little or nothing to do
 with
 it's UI, then keep the two separate.

 However, I would believe that the subject matter will overlaps
 tremendously
 between the two lists.

 Rick


 -Original Message-
 From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Andy Matthews
 Sent: Monday, September 17, 2007 10:22 AM
 To: jquery-en@googlegroups.com
 Subject: [jQuery] Re: jQuery UI praises and questions


 I'd say that now that the UI is released, questions/comments can and
 should
 be posted to THIS list.

 -Original Message-
 From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of John Resig
 Sent: Monday, September 17, 2007 2:01 AM
 To: jquery-en@googlegroups.com
 Subject: [jQuery] Re: jQuery UI praises and questions


 Good call - I just went back and added dependency information to all the
 components - yes, it's possible to use them separately.

 I'll have to flush out the docs on this some more, once I'm awake.

 --John

 On 9/17/07, David Duymelinck [EMAIL PROTECTED] wrote:
 
  Great work on the jQuery UI, I take my hat off for all who worked on
  it, keep it up and keep amazing us!!
 
  In the docs it isn't mentioned which version of jQuery you have to use
  and if it's possible to use the compontents separate?
 
  ps : other jQuery UI question i will post in the jQuery UI list.
 
  --
  David Duymelinck
  
  [EMAIL PROTECTED]
 
 





 
 

-- 
View this message in context: 
http://www.nabble.com/jQuery-UI-praises-and-questions-tf4464665s15494.html#a12739012
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: blockUI IE6 checkbox

2007-09-14 Thread seedy


Thanks!  thats working out well for me right now.  


Theodore Ni wrote:
 
 I took a quick look at the blockUI code, and you can fix the problem by
 changing the bind function to this:
 
 // bind/unbind the handler
 bind: function(b, el) {
 var full = el == window;
 // don't bother unbinding if there is nothing to unbind
 if (!b  (full  !this.pageBlock || !full  !el.$blocked))
 return;
 if (!full) el.$blocked = b;
 var $e = $(el).find('a,:input');
 $.each(['mousedown','mouseup','keydown','keypress','click'],
 function(i,o) {
 $e[b?'bind':'unbind'](o, $.blockUI.impl.handler);
 });
 },
 
 I don't know if this will have any other side effects, so use with care
 until Mike can let us know for sure.
 
 On 9/13/07, seedy [EMAIL PROTECTED] wrote:



 sorry for the delay, finally got one up

 http://devweb1.ttisolutions.com/jqueryTests/blockui/

 The problem seems to happen in all browsers I test it in, althought the
 element blocking doesnt seem to have a problem in firefox.



 malsup wrote:
 
 
  Do you have a sample page that shows the problem?  That would be
  helpful for me.  Thanks.
 
  Mike
 
 
  On 9/5/07, seedy [EMAIL PROTECTED] wrote:
 
 
  Setting the fade to false does not appear to be solving the issue for
 me.
 
 
 
  malsup wrote:
  
   seedy,
  
   Try adding this to your page:
  
   $.blockUI.defaults.fadeOut = false;
  
   I think this is an issue with animation.
  
   Mike
  
  
  
   On 9/4/07, seedy [EMAIL PROTECTED] wrote:
  
  
  
   Has anyone been able to reproduce this or am I just crazy ?
  
  
   seedy wrote:
   
I have a few checkboxes that fire an ajax request, and use
 blockUI
  to
block an element during this request.
Problem is, the checkbox gets 'unchecked' whenever blockUI shows
 up.
Its reproducible with the following code (appears to not just
 affect
element blocking)
   
html
body
  input type=checkboxcheck me /input
/body
script lang=javascript type=text/javascript
src=jquery-1.1.4.pack.js /script
script lang=javascript type=text/javascript
   src=jquery.blockUI.js
/script
script
 $(function(){
  $('input:checkbox').click(function(){ alert('booga');
   $.blockUI();
   });
 });
/script
/html
   
You will see the box get checked, then when the alert goes away,
 it
magically becomes unchecked.  Any ideas?
   
  
   --
   View this message in context:
  
 
 http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12478271
   Sent from the JQuery mailing list archive at Nabble.com.
  
  
  
  
 
  --
  View this message in context:
 
 http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12499248
  Sent from the JQuery mailing list archive at Nabble.com.
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12661238
 Sent from the JQuery mailing list archive at Nabble.com.


 
 
 -- 
 Ted
 
 

-- 
View this message in context: 
http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12675250
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread seedy


I also had the same thing happen.
14kb is only after it has been gzipped by your server. 
The version you are downloading has been minified, Its up to you to do the
gzipping.


lukwe wrote:
 
 
 When I go to the GoogleCode page for the minified version it idsplays a 46
 kb file to download; 
 seems like the file had been deflated again by the server (?!?).
 
 Is anyone else experiencing this ??!?
 
 
 ciao
 

-- 
View this message in context: 
http://www.nabble.com/Downloading-1.2-minified%2C-getting-46kb-instead-of-14kb---%21--tf4442334s15494.html#a12676468
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: blockUI IE6 checkbox

2007-09-13 Thread seedy


sorry for the delay, finally got one up

http://devweb1.ttisolutions.com/jqueryTests/blockui/

The problem seems to happen in all browsers I test it in, althought the
element blocking doesnt seem to have a problem in firefox.



malsup wrote:
 
 
 Do you have a sample page that shows the problem?  That would be
 helpful for me.  Thanks.
 
 Mike
 
 
 On 9/5/07, seedy [EMAIL PROTECTED] wrote:


 Setting the fade to false does not appear to be solving the issue for me.



 malsup wrote:
 
  seedy,
 
  Try adding this to your page:
 
  $.blockUI.defaults.fadeOut = false;
 
  I think this is an issue with animation.
 
  Mike
 
 
 
  On 9/4/07, seedy [EMAIL PROTECTED] wrote:
 
 
 
  Has anyone been able to reproduce this or am I just crazy ?
 
 
  seedy wrote:
  
   I have a few checkboxes that fire an ajax request, and use blockUI
 to
   block an element during this request.
   Problem is, the checkbox gets 'unchecked' whenever blockUI shows up.
   Its reproducible with the following code (appears to not just affect
   element blocking)
  
   html
   body
 input type=checkboxcheck me /input
   /body
   script lang=javascript type=text/javascript
   src=jquery-1.1.4.pack.js /script
   script lang=javascript type=text/javascript
  src=jquery.blockUI.js
   /script
   script
$(function(){
 $('input:checkbox').click(function(){ alert('booga');
  $.blockUI();
  });
});
   /script
   /html
  
   You will see the box get checked, then when the alert goes away, it
   magically becomes unchecked.  Any ideas?
  
 
  --
  View this message in context:
 
 http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12478271
  Sent from the JQuery mailing list archive at Nabble.com.
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12499248
 Sent from the JQuery mailing list archive at Nabble.com.


 
 

-- 
View this message in context: 
http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12661238
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Is it possible to catch keypress events to a div?

2007-09-07 Thread seedy


Ive used the shortkeys plugin for doing this
http://rikrikrik.com/jquery/shortkeys/

I'm not sure if it can be used on a specific div, but Ive used it on
$(document)


hydra12 wrote:
 
 
 I'm playing with the idea for a game, and I want to use the keyboard
 for control.  I need to catch keypress events without using a textarea
 or a text input box.  Can you bind keypress to a div or to body?  I
 haven't been able to get it working, but I'm new to jquery.
 
 Thanks for the help!
 hydra12
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Is-it-possible-to-catch-keypress-events-to-a-div--tf4403349s15494.html#a12562446
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: blockUI IE6 checkbox

2007-09-05 Thread seedy


Setting the fade to false does not appear to be solving the issue for me.



malsup wrote:
 
 seedy,
 
 Try adding this to your page:
 
 $.blockUI.defaults.fadeOut = false;
 
 I think this is an issue with animation.
 
 Mike
 
 
 
 On 9/4/07, seedy [EMAIL PROTECTED] wrote:



 Has anyone been able to reproduce this or am I just crazy ?


 seedy wrote:
 
  I have a few checkboxes that fire an ajax request, and use blockUI to
  block an element during this request.
  Problem is, the checkbox gets 'unchecked' whenever blockUI shows up.
  Its reproducible with the following code (appears to not just affect
  element blocking)
 
  html
  body
input type=checkboxcheck me /input
  /body
  script lang=javascript type=text/javascript
  src=jquery-1.1.4.pack.js /script
  script lang=javascript type=text/javascript
 src=jquery.blockUI.js
  /script
  script
   $(function(){
$('input:checkbox').click(function(){ alert('booga');
 $.blockUI();
 });
   });
  /script
  /html
 
  You will see the box get checked, then when the alert goes away, it
  magically becomes unchecked.  Any ideas?
 

 --
 View this message in context:
 http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12478271
 Sent from the JQuery mailing list archive at Nabble.com.


 
 

-- 
View this message in context: 
http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12499248
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: blockUI IE6 checkbox

2007-09-04 Thread seedy


Has anyone been able to reproduce this or am I just crazy ?


seedy wrote:
 
 I have a few checkboxes that fire an ajax request, and use blockUI to
 block an element during this request.  
 Problem is, the checkbox gets 'unchecked' whenever blockUI shows up. 
 Its reproducible with the following code (appears to not just affect
 element blocking)
 
 html
 body
   input type=checkboxcheck me /input
 /body
 script lang=javascript type=text/javascript
 src=jquery-1.1.4.pack.js /script
 script lang=javascript type=text/javascript src=jquery.blockUI.js
 /script
 script
  $(function(){
   $('input:checkbox').click(function(){ alert('booga'); $.blockUI(); });
  });
 /script
 /html
 
 You will see the box get checked, then when the alert goes away, it
 magically becomes unchecked.  Any ideas?
 

-- 
View this message in context: 
http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12478271
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] ajax 'error'

2007-09-04 Thread seedy


So I have jQuery talking to some asp.net 1.1 pages through $.ajax.  
There are some situations on the server side(session timeout, access denied)
where I would like to 'cause' an error.  
I could write 'error' to the html and check for it in the success: function,
it would just make more sense to me if all errors were in the error:
callback.

So the question is what can I do from my .net code to cause jquery $.ajax to
run the error callback?



-- 
View this message in context: 
http://www.nabble.com/ajax-%27error%27-tf4379022s15494.html#a12482355
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Feeling pretty special right about now...

2007-09-04 Thread seedy


I love that the half life 2 'cheatsheet' is on the desk.


Rey Bango-2 wrote:
 
 
 Yep, I'm feeling pretty special right about now with my new
 
 JQUERY MUG  COASTER SET!! wut!!!
 
 http://www.reybango.com/images/jquery/jquerymug8x6.jpg
 
 http://www.reybango.com/images/jquery/jquerycoaster8x6.jpg
 
 Let the envy begin! ;)
 
 Rey...
 
 

-- 
View this message in context: 
http://www.nabble.com/Feeling-pretty-special-right-about-now...-tf4379004s15494.html#a12482356
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Feeling pretty special right about now...

2007-09-04 Thread seedy


Ive tried (and failed) a few times to make a graphic for a jQuery mug with a
cheatsheet on it like this  http://www.cafepress.com/geekcheat.11507711 vi
mug .  I can never fit it all on.
I would pay for that at a jQuery store for sure.


Glen Lipka wrote:
 
 jQuery store might be a nice way to get donations.  Donate $25 and get a
 mug. $50 and get a t-shirt. etc  Like NPR.
 Glen
 
 On 9/4/07, Sean Catchpole [EMAIL PROTECTED] wrote:

 /drool

 ~Sean


 On 9/4/07, Rey Bango [EMAIL PROTECTED] wrote:
 
 
  Yep, I'm feeling pretty special right about now with my new
 
  JQUERY MUG  COASTER SET!! wut!!!
 
  http://www.reybango.com/images/jquery/jquerymug8x6.jpg
 
  http://www.reybango.com/images/jquery/jquerycoaster8x6.jpg
 
  Let the envy begin! ;)
 
  Rey...
 


 
 

-- 
View this message in context: 
http://www.nabble.com/Feeling-pretty-special-right-about-now...-tf4379004s15494.html#a12482658
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: ajax 'error'

2007-09-04 Thread seedy


I figured it out thought I might as well post the answer for others.

In .net 1.1 you can use the Response.StatusCode to set it to a bad status
(500), and response.write to send text.

This will cause jQuery to call the error callback, and from there you can
use xhr.responseText to read any text from Response.Write


seedy wrote:
 
 So I have jQuery talking to some asp.net 1.1 pages through $.ajax.  
 There are some situations on the server side(session timeout, access
 denied) where I would like to 'cause' an error.  
 I could write 'error' to the html and check for it in the success:
 function, it would just make more sense to me if all errors were in the
 error: callback.
 
 So the question is what can I do from my .net code to cause jquery $.ajax
 to run the error callback?
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/ajax-%27error%27-tf4379022s15494.html#a12485288
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] blockUI IE6 checkbox

2007-08-31 Thread seedy


I have a few checkboxes that fire an ajax request, and use blockUI to block
an element during this request.  
Problem is, the checkbox gets 'unchecked' whenever blockUI shows up. 
Its reproducible with the following code (appears to not just affect element
blocking)

html
body
input type=checkboxcheck me /input
/body
script lang=javascript type=text/javascript src=jquery-1.1.4.pack.js
/script
script lang=javascript type=text/javascript src=jquery.blockUI.js
/script
script
 $(function(){
$('input:checkbox').click(function(){ alert('booga'); $.blockUI(); });
 });
/script
/html

You will see the box get checked, then when the alert goes away, it
magically becomes unchecked.  Any ideas?
-- 
View this message in context: 
http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12430878
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Weird behavior of CSS float! Different in IE and Firefox

2007-08-30 Thread seedy


Just as a follow up on this, it doesn't have to be overflow hidden, just any
overflow attribute.  Applying the overflow forces the browser to calculate
the size of the div to see if it needs to show the scrollbar or not.


Giuliano Marcangelo wrote:
 
 div id=parent style=width:800px;background-
 color:rgb(200,200,0);padding:5px;border:2px solid;overflow:hidden
 
 On 30/08/2007, Paladin [EMAIL PROTECTED] wrote:


 I just discovered some weird behavior of float. The following is the
 html code.

 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/
 TR/html4/strict.dtd
 html
 head
 meta http-equiv=Content-Type content=text/html;
 charset=iso-8859-1 /
 titleUntitled Document/title
 /head
 body
 div id=parent style=width:800px;background-
 color:rgb(200,200,0);padding:5px;border:2px solid;
 div id=child1
 style=position:relative;float:left;border:1px
 solid;width:200px;height:40px;This is child1/div
 div id=child2
 style=position:relative;float:left;border:1px
 solid;width:200px;height:40px;This is child2/div
 /div
 /body
 /html

 if rendered in FF, you will see that the children are out of the
 parent border. In IE, the page is correctly rendered.
 However, if we change the positioning of parent to position to
 absolute, you will see the childeren are correctly rendered inside the
 parent.
 Could someone do me some help? I just want to dynamically change the
 height of parent to contain the children divs, meanwhile every div
 maintain their position in the document flow. I happened to succeeded
 once but now even I repeat the code they don't seem to work. Very
 funny!


 
 

-- 
View this message in context: 
http://www.nabble.com/Weird-behavior-of-CSS-float%21-Different-in-IE-and-Firefox-tf4353488s15494.html#a12414829
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Tweaking the BlockUI Plugin

2007-08-28 Thread seedy


Post runs asynchronously, so the code does not wait for it to finish to
execute the $.unblockUI(priceElement);.  The set timeout won't be too
helpful because you dont know how long the request will take until it has
already happened.

What you likely want to do is to use $.ajax rather than $.post.  That will
let you have an event when your ajax call finishes(success, error), and turn
off blockui at that point

something like this

$('#priceupdate').click(function() { 
$.blockUI(priceElement, { width: '300px' });
$.ajax({
url :someurl.php,
data: 'data=somedata',
success: function(response){ alert('success');
$.unblockUI(); },
error: function(){ alert('oh crap'); $.unblockUI(); }
  })

});



enchen wrote:
 
 Hi is it possible to have the overlay stay visible all through the process
 while doing a $.post request?
 
 Mine disappears almost immediately...
 
 Code looks like: 
 
 script type=text/javascript!--
 jQuery.noConflict();
 $(document).ready(function() {
  
   var priceElement = $('#domCheckPrices'); 
   $('#priceupdate').click(function() { 
   $.blockUI(priceElement, { width: '300px' });
   $.post(#spRequest);
   //setTimeout('5000'); ?? or similar
   $.unblockUI(priceElement);
   });
 });
 
 // --
 /script
 
 
 I've tried with various implementations of setTimeout and a jQuery pause
 function I found, but it seams I'm not getting where I want whatever I
 try...
 
 Basically all I need is a overlay that blocks user input when the submit
 button is pressed, which also displays some useful information about
 what's being done. E.g. the prices are being updated or the form is
 submitted... The overlay would then disappear when the page is completely
 reloaded.
 
 Any help would be greatly appreciated.
 
 

-- 
View this message in context: 
http://www.nabble.com/Tweaking-the-BlockUI-Plugin-tf4341787s15494.html#a12368633
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Click event not working...

2007-08-28 Thread seedy


This was a known issue for IE in 1.1.3
It has been fixed in 1.1.4


Andy Matthews-3 wrote:
 
 Does anyone have any idea why the click event on my blog isn't working in
 IE7?
  
 http://www.andyandjaime.com/
  
 Clicking on the words 
  
 Comments :X: - View comments
 or
 Comments :X: - Be the first to add a comment
  
 should fire this code:
  
 $('.openComments b').click(function(){
  
 $(this).parents('.openComments').next('.comments').slideDown().parent('.comm
 entShell').ScrollTo(800);
 return false;
 });
  
 it works just fine in FF, but not in IE.
  
 
  
 Andy Matthews
 Senior ColdFusion Developer
 
 Office:  877.707.5467 x747
 Direct:  615.627.9747
 Fax:  615.467.6249
 [EMAIL PROTECTED]
 www.dealerskins.com http://www.dealerskins.com/ 
  
 
  
 

-- 
View this message in context: 
http://www.nabble.com/Click-event-not-working...-tf4342561s15494.html#a12371188
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Tweaking the BlockUI Plugin

2007-08-28 Thread seedy



enchen wrote:
 
 
 It looks like it could be done, but I can't seem to get the page reloaded
 this way, which means all my server-side verifications are left unnoticed.
 As this is rather new to me I think I need the info fed with a teaspoon in
 order to get it working. So the questions are a) can an AJAX call reload
 the page in order to reflect changes in my PHP script and b) how do I use
 the AJAX url:  to submit a form including all fields ?
 
 

a) An ajax call has a response from the page it calls, and you can then do
what you need with that response (replace some html on the page, or append
it).  
b) If you want to submit the entire form I reccomend taking a look at
malsups   http://www.malsup.com/jquery/form/ Form Plugin 

In addition, if you are already comfortable using $.post, you can try out
what Mike has suggested


malsup wrote:
 
 
 $.blockUI(priceElement, { width: '300px' });
 $.post(#spRequest, $.unblockUI); 
 
 

The second parameter of the $.post is the callback, which basically means
when the post is done, run this function.
-- 
View this message in context: 
http://www.nabble.com/Tweaking-the-BlockUI-Plugin-tf4341787s15494.html#a12371166
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: DIV clipping or autofit question

2007-08-28 Thread seedy


Is the text you are trying to display
onereallylongstringthatdoesnotcontainanyspaces???

I believe Firefox has a bug that prevents it from wrapping text that does
not have a space in it, I often run into that problem when trying to display
URL's in firefox.


Pops wrote:
 
 
 I have a div  id=wcResult container.
 
 Via $.ajax() the success and failure call back do this:
 
 $(#wcResult).text(xml.responseText);
 
 to display the result.
 
 If success, the server sends JSON formatted data.
 If failure, like uthentication required, HTML is sent.
 
 For the JSON data,  the div will not clip or autofit the content. It
 runs off the div border.
 
 For the HTML, the div will autofit the content very nicely.
 
 I am not completely sure the reason for this, but I believe its
 related to HTML :-)
 
 Comments?
 
 PS: This is only under FireFox.  IE fits them both.
 
 --
 HLS
 
 
 

-- 
View this message in context: 
http://www.nabble.com/DIV-clipping-or-autofit--question-tf4343725s15494.html#a12375323
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Iterating over 1000 items - optimizing jquery

2007-08-21 Thread seedy


You shouldn't need to use the .each

$('td [EMAIL PROTECTED]@type=text]').after('stuff') will append to all
elements that match the selector, no need to go into a loop with each.


Dan Eastwell wrote:
 
 
 Hi,
 
 I'm doing an order form for a bookstore. The order form has over 500
 items in it, so jquery runs slowly.
 
 There is no way I can change the number of items, it's a given and a
 piece of business 'logic'.
 
 The jquery I have comprises four simple functions to add
 increment/decrement buttons to the order form to increase quantities,
 and a jquery addClass call to add pajama/zebra stripes to the table.
 There are two quantity fields (again for business reasons), so that's
 over a 1000 items.
 
 http://test2.danieleastwell.co.uk/test2/master_order_test.html
 
 The problem is it causes a 'script hanging' error IE7 on, I'm
 guessing, slower machines (not mine), and takes ~10secs in Firefox2
 (with firebug/validation tools) to load.
 
 Is there any way I can optimize this to load any more quickly, or do I
 need to give up on scripting to add the items and their functionality?
 
 Many thanks,
 
 Dan.
 
 $(document).ready(function() {
 
   addPlusMinus(td [EMAIL PROTECTED]@type=text]);
   addPlusMinus(td [EMAIL PROTECTED]@type=text]);
   increment(#order_form img.increment);
   decrement(#order_form img.decrement);
   $(table.summarytable tr:even).addClass(odd);
   
 });
 
 function addPlusMinus(input_text){
   $(input_text).each( function(){
   $(this).after( images/buttons/button_minus.gif 
 images/buttons/button_plus.gif );
   });
 }
   
 function increment(image_button) {
   $(image_button).bind(click, function() {
   qty_field = $(this).parent(td).find([EMAIL PROTECTED]);
   var numValue = $(qty_field).val();
   numValue++;
   $(qty_field).val(numValue);
   });
 } 
 function decrement(image_button) {
   $(image_button).bind(click, function() {
   qty_field = $(this).parent(td).find([EMAIL PROTECTED]);
   var numValue = $(qty_field).val();
   if (numValue  0 ) {
   numValue--;
   }
   $(qty_field).val(numValue);
   });
 } 
 
 
 
 
 
 -- 
 Daniel Eastwell
 
 Portfolio and articles:
 http://www.thoughtballoon.co.uk
 
 Blog:
 http://www.thoughtballoon.co.uk/blog
 
 

-- 
View this message in context: 
http://www.nabble.com/Iterating-over-1000-items---optimizing-jquery-tf4306183s15494.html#a12258350
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: ASP.NET IDs

2007-08-19 Thread seedy


This should only happen on databound (templated) controls.
If its a submit button or textbox ect that you have placed on the form with
the designer, or dynamically with codebehind you should have no problem
accessing it using $('#ServerID').  
I have been doing so with much success.


[EMAIL PROTECTED] wrote:
 
 
 if you have an element that has runat=server attribute you cannot
 call it directly as #loginForm  because asp.net rewrites the id to
 something different  just doa view source on your aspx page and you
 will see the renamed form cleintid 
 
 I was wondering how to probably implement jQuery with an ASP.NET
 control considering this problem.  Or do we simply need to write out:
 
 ctl00_ContentPlaceHolder1_btnConfirm to access the btnConfirm
 button?
 
 

-- 
View this message in context: 
http://www.nabble.com/ASP.NET-IDs-tf4292112s15494.html#a12228959
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: @import vs link

2007-08-19 Thread seedy


The link tag is html, @import is CSS.   You can use @import from within a
stylesheet (has to be the first text) to include many stylesheets with a
single link tag

Also import is not recognized by netscape 4 so it can be used to hid
stylesheets from older browsers.


Rey Bango-2 wrote:
 
 
 Hi guys,
 
 In looking at another thread about jTip, I noticed that the css file was 
 including like this:
 
 @import '/public/js/jtip/css/jtip.css';
 
 What's the difference and/or benefit of using @import vs link to 
 include a stylesheet?
 
 Rey...
 
 

-- 
View this message in context: 
http://www.nabble.com/%40import-vs-link-tf4296227s15494.html#a12229107
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: changing class

2007-08-16 Thread seedy


Do you need to have a seperate css class for each list item?

If they all visually look the same, I would have only 2 classes, one for the
selected element, and one for all other elements.  If this was the case you
could do something like this:

$('.unselected').click(function(){
   $('.selected').attr('class','unselected');
   $(this).attr('class','selected');
});

Eddie Peloke wrote:
 
 
 I have the following code.  Basically, when the home_sel anchor is
 clicked, I want to change the class to home select and have all
 other li elements have select removed if they have it turned on...I'm
 having problems getting this to work properly in jQuery.  How can I do
 this?
 
 Thanks!
 
 
 div id=tabs
   ul 
   li class=home select # Home /li
   li class=packages # Packages /li
   li class=test_drive # Test Drive /li
   li class=sign_up # Sign up /li
 
   /ul
   /div
 
 
 

-- 
View this message in context: 
http://www.nabble.com/changing-class-tf4281741s15494.html#a12188647
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: display Please wait while waiting for a database query.

2007-08-15 Thread seedy


there is a great plugin that will do this for you called blockUI
http://www.malsup.com/jquery/block/


VS YR wrote:
 
 
 Hello,
 
 I have a php web application and sometimes the database query will
 take a while to process results.  Using JQuery, is it possible to
 display a Please wait message and then clear it when the
 database query completes ( the code comes out of an foreach
 condition ).
 
 Please let me know..
 
 Thank you.
 -VS.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-display-%22Please-wait%22-while-waiting-for-a-database-query.-tf4272597s15494.html#a12165622
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: event handlers lost when adding and removing links dynamically

2007-08-14 Thread seedy


You have two options
You can wrap your event binding all in its own function, and then call that
function again each time new elements are added

Or there is also a plugin designed to handle this for you 
http://jquery.com/plugins/project/behavior
http://jquery.com/plugins/project/behavior 


hstang2833 wrote:
 
 I am just started using jQuery to simplify my JavaScript programming but I
 am running into this problem where my event handlers are not binding
 properly to my event handler when I am creating these links dynamically
 using jquery.  I am sure this is a common problem but I just need to be
 pushed to the right direction to fix this.  Could someone lend a hand,
 please?  
 
 Below is a simple example what I'm trying to do.  When the page loads,
 there is a link called Foo and will say hi when clicked.  There's
 another link below it that adds more Foo links BUT those newly added Foo
 links will no longer say hi anymore when you click on them.  How do I
 make them say hi again?  I tried rebinding it but it doesn't work.
 
 
 body id=body
# Foo 
# Add Link 
 /body  
 
 
 $(document).ready(function() {
   $('#addLink').click(function() {
 var html =  # Foo ;
 $('#body').append(html);
   });
 }
 
 $(document).ready(function() {
   $('.foo').click(function() {
 alert(hi);
   });
 }
 
 

-- 
View this message in context: 
http://www.nabble.com/event-handlers-lost-when-adding-and-removing-links-dynamically-tf4268860s15494.html#a12149797
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: wildcards and onclick

2007-08-13 Thread seedy


that works great thanks!!

$('input:[EMAIL PROTECTED]').filter(function() {
 return $(this).attr('onclick').indexOf('confirm') = 0;
}); 

I added the [EMAIL PROTECTED] to the selector to prevent the indexOf from 
failing
in the case that there is no onclick attribute.


Klaus Hartl wrote:
 
 
 Maybe we can build our own custom filter then:
 
 $('input:image).filter(function() {
  return $(this).attr('onclick').indexOf('confirm') = 0;
 });
 
 
 --Klaus
 
 
 

-- 
View this message in context: 
http://www.nabble.com/wildcards-and-onclick-tf4250599s15494.html#a12125440
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Exec'ing JS In load()ed content for IE

2007-08-13 Thread seedy


have you looked into using 
http://docs.jquery.com/Ajax#.24.getScript.28_url.2C_callback_.29
.getScript()  rather than .load ?





starmonkey-2 wrote:
 
 
 I'm using jQuery's load() function in order to pull content from the
 server and stick it into a div.
 
 This content has both html + javascript inside it, and I need to get
 the javascript actually evaluated for IE6+7.
 
 Firefox handles javascript fine for both inline + externally
 referenced libraries, eg:
 
 The above does not work with both IE6 + IE7.
 
 thanks in advance,
 SM
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Exec%27ing-JS-In-load%28%29ed-content-for-IE-tf4260502s15494.html#a12125643
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Making An Intergrated Plugin

2007-08-13 Thread seedy


I think what you are looking for is .children()

$('div[id=hover_menu]').hover_menu( $(this).children('li') )


Eridius wrote:
 
 I am trying to learn the working of making a intergrated plugin(with using
 jQuery.fn.plugin method).  I thought a good start would be a simple
 hover_menu.  Now my understanding it that the this object points to the
 object it is called on so if i did $('div[id=hover_menu]').hover_menu()
 that inside the function this would be the same as
 $('div[id=hover_menu]'), would that be correct?  My real question is what
 if i want to do something to that and then do something to all the li's
 after that, how would i grab all the li's without passing the search
 parameter to the function?  Is thier a way to append to the search so i
 could do ths.whatever('li') which would then grab all the li's under a
 div with id of hover_menu?  This is only if this =
 $('div[id=hover_menu]'), if not then i need to figure that out first and
 then this issue.
 

-- 
View this message in context: 
http://www.nabble.com/Making-An-Intergrated-Plugin-tf4263097s15494.html#a12132522
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: wildcards and onclick

2007-08-10 Thread seedy


I do see that the typeof returns 'function'.  Does this mean it will never
work with *= ?

Of interest, if I change that function like so:

$('input:image').each(function() {
 alert(typeof $(this).attr('onclick'));
});

It alerts 'string'.  Not sure if that is helpful just thought it was
interesting.


Klaus Hartl wrote:
 
 
 seedy wrote:
 
 When I try to use a wildcard to search for characters in an onclick
 attribute
 it doesnt appear to work.
 
 I think this syntax is correct
 $('input:[EMAIL PROTECTED]')
 
 I know there is a bug with onclick in 1.1.3.1, is this somehow related?
 
 I assume that you can't just parse the content of the onclick attribute, 
 as in this special case what's in there becomes a javascript expression 
 and not simple text...
 
 Try:
 
 $('input:image').each(function() {
  alert(typeof this.onclick);
 });
 
 It should alert function.
 
 
 
 --Klaus
 
 
 

-- 
View this message in context: 
http://www.nabble.com/wildcards-and-onclick-tf4250599s15494.html#a12098534
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: JS enabled or not

2007-08-10 Thread seedy


This can be done by showing the message This site requires javascript by
default.
Then use jQuery to hide that message.  If javascript is not enabled, your
code to hide that message will not work and they will see the message.



senzacionale wrote:
 
 i found this
 http://www.nabble.com/Best-way-to-determine-if-a-user-has-Javascript-enabled--p10101489s15494.html
 
 but i would like to know if JQuery has option to check if user has JS
 enabled or not?
 If i disable JS in this page i get message This site requires
 JavaScript.!
 
 How to make this?
 

-- 
View this message in context: 
http://www.nabble.com/JS-enabled-or-not-tf4247862s15494.html#a12097432
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] wildcards and onclick

2007-08-10 Thread seedy


When I try to use a wildcard to search for characters in an onclick attribute
it doesnt appear to work.

I think this syntax is correct
$('input:[EMAIL PROTECTED]')

I know there is a bug with onclick in 1.1.3.1, is this somehow related?
-- 
View this message in context: 
http://www.nabble.com/wildcards-and-onclick-tf4250599s15494.html#a12097546
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Draggable - change revert after start and before stop

2007-08-08 Thread seedy


I have done this simply by hiding the dragger when it gets dropped

$('dropper').Droppable({accept:'dragger',
  ondrop: function(drag){ $('.dragger').css('visibility','hidden')}
  });

This may work out for you depending on if you need to Keep the dragger
visible or not.  In my case, I clone the dragger properties (background,
border, ect) onto the dropper to give the appearance that the dragger stays
put.



SDE wrote:
 
 
 If my draggable item does not reach a target, i want it to revert, so
 I set revert by default.
 
 When it hovers over a target, I want to set revert to false.
 
 I can't make this work.  I thought it would be as easy as putting the
 following code in the onHover of the droppable:
 
 $('#'+drag.id).Draggable({revert:false});
 
 But it doesn't work.  Can you change the value of revert in the middle
 of a drag?
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Draggable---change-revert-after-start-and-before-stop-tf4235611s15494.html#a12053761
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: tooltip effect problem

2007-08-08 Thread seedy


It looks like the interface tooltip is automatically adding that text for
you, I am not sure what the best way to trim the text for this plugin would
be.

You might want to look at some other tooltip plugins such as 
http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ Tooltip  or 
http://codylindley.com/Javascript/264/jtip-a-jquery-tool-tip jtip  as they
seem to allow for some more customization.


-- 
View this message in context: 
http://www.nabble.com/tooltip-effect-problem-tf4236901s15494.html#a12056479
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: tooltip effect problem

2007-08-08 Thread seedy



senzacionale wrote:
 
 i have one problem with tooltip effect
 
 I want to cut url adress, becouse if it is too long then it show over the
 edge, over the witdh: 150px.
 how can i cut it?
 
 


I think this a more of a problem with the browser (Im guessing you are using
firefox) , than with the tooltip.  Firefox refuses to word wrap text if it
does not have any spaces in it (like a url) regardless of the width
specified on the element.  To the best of my knowledge there is no way to
solve this with css.

You should be able to use a javascript substr(x) where x is the number of
characters you want to be allowed to display and then possibly follow that
with a '...' to show it has been cut off.

var url =
'thisisareallylongstringthatgoesoutsideoftheboundsofmytooltipboxanditlooksreallyhorrblebecauseitwillnotwrap'
foo url.substr(12)...  
-- 
View this message in context: 
http://www.nabble.com/tooltip-effect-problem-tf4236901s15494.html#a12055639
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: disable Effect queue

2007-08-02 Thread seedy


I think the .animate() function will help you to combine effects
ie.
$(element).animate({height:'toggle',opacity:'toggle'})

This should slide and fade an element at the same time.



ravenel wrote:
 
 
 Hello,
 I am using effects (e.g. fadeIn  Out, slideUp  Down etc.) on a div
 triggered with a mouseover and mouseout event on a trigger-div.
 
 When the user starts entering and leaving the trigger-div with the
 mouse, jquery queues all effects and displays them one after another.
 
 I don't want jQuery to queue the effects.  When the user leaves the
 toggle-div before the onmousover-effect has finished it just should
 override it an start with the onmouseout effect.
 
 How can I achive this?
 
 Thank you in advance
 
 
 

-- 
View this message in context: 
http://www.nabble.com/disable-Effect-queue-tf4169331s15494.html#a11967644
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Two words for Jquery

2007-08-01 Thread seedy


Top Shelf !


Alexandre Plennevaux wrote:
 
 
 Juicy  fresh ?
  
 
 -Original Message-
 From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of spinnach
 Sent: mercredi 1 août 2007 13:43
 To: jquery-en@googlegroups.com
 Subject: [jQuery] Re: Two words for Jquery
 
 
 Jolly good ?
 
 Tane Piper wrote:
 Bloody Brilliant!
 
 (I wonder how many other 2 word ways there are to describe jQuery)
 
 On 8/1/07, Richard D. Worth [EMAIL PROTECTED] wrote:
 Here here.

 - Richard


 On 8/1/07, kiwwwi [EMAIL PROTECTED] wrote:
 jQuery Rocks!!

 oh... possibly will add two more words;

 Thank you :)

 I'm not the best scripter and jquery has simply allowed me to 
 accomplish with my own personal site so much more than I would 
 have otherwise attempted.  You people behind jquery are genious and 
 your work is great, thanks.

 Kiwwwi.



 
 
 
 Ce message Envoi est certifié sans virus connu.
 Analyse effectuée par AVG.
 Version: 7.5.476 / Base de données virus: 269.11.0/929 - Date: 31/07/2007
 17:26
  
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Two-words-for-Jquery-tf4199346s15494.html#a11945776
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: How to get font size in pixels?

2007-08-01 Thread seedy



Sam Collett wrote:
 
 How can I then convert the %/em value into pixels? 
 

Short Answer : You can't really convert em to pixels as em is a relative
value.

Long Answer:
The default font size for browsers is 16px = 1em.  So you could make that
assumption and use 16px to calculate your pixel value, but if the user has
changed their browsers font size it could look wrong.  
Also, when font sizes are rendered in em, it could be inheriting from
another element 
body{font-size:0.69em}
element{font-size:0.75em}
In this case, if you only looked at the em value for element (0,75em), again
your calculation would be wrong.
Percentages will work mostly in this same way.  There is another unit of
font measurement you may have to worry about called ex, but I am not to
familiar with how that works.

Sorry I don't have an answer, as a consolation prize here is a nifty tool
for em - px calculations.
http://riddle.pl/emcalc/


-- 
View this message in context: 
http://www.nabble.com/How-to-get-font-size-in-pixels--tf4198790s15494.html#a11945561
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: please wait-box only if delayed response

2007-07-30 Thread seedy


You could use a  http://www.w3schools.com/js/js_timing.asp setTimeout  to
delay the box from showing.

I have had to deal with the same issue of my wait box 'flashing' for quick
page loads, but instead of using setTimeout, I fade the box out.  The fade
always takes some time, so even on the quickest page the loading box shows
up long enough to not be annoying, plus it has a nice fadeout effect

$('#wait').fadeOut();


Kia Niskavaara wrote:
 
 
 
 How can I make my #wait container show only if there is a delay in the
 response. Let's say that I 
 only want to show it if there is no response within 2 seconds.
 
 This is my current code, which often cause the wait box to show and then
 hide, quickly - which looks 
 odd to the user:
 
 $(document).ready(function(){
// show wait-box
$('#wait').css({opacity: 0}).animate({ opacity: 1 }, 3000);
// load content
$('#content').load('content.php', function() { $('#wait').hide(); });
 });
 
 Kia
 
 

-- 
View this message in context: 
http://www.nabble.com/%22please-wait%22-box-only-if-delayed-response-tf4170835s15494.html#a11866084
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: BlockUI does not display overlay in IE6 and IE7

2007-07-26 Thread seedy


I just had the same problem with transparency, upgrading to jQuery 1.1.3.1
seemed to clear it up.


Trymbill wrote:
 
 Hi guys!
 
 I have a problem regarding BlockUI.  I'm using it on a website where I
 have a few users registered.  The idea is that a user can browse for an
 image, select it and as soon as it has been selected the BlockUI will
 appear and ask them to wait.  Then it runs through a PHP code via Ajax and
 displays Hurray if it worked and Burray if it didn't.
 
 This works like a dime in FF but in IE it's all messy.  First of all I
 can't get IE to stop following the form submit.  IE always tries to submit
 the form regularly but my javascript code says return false; - FF
 understands that but IE is stupid (or maybe it's me, I don't know...).
 
 But my main problem with BlockUI is that it does not display the overlay
 background in IE6 and IE7!  It does work in FF and I can see that it works
 when I try the example code on the BlockUI website, but I can't seem to
 get it working on IE6 and IE7 on my page.
 
 I am using alot of scripts for jQurey so maybe it could be some script
 interference?
 I tried downloading the lates version of BlockUI but that did nothing.  I
 tried changing my code but that didn't work.
 
 Does any one know what I can try to do?  Please, it would be much
 appreciated!
 
 Sincerely,
 Magnus
 

-- 
View this message in context: 
http://www.nabble.com/BlockUI-does-not-display-overlay-in-IE6-and-IE7-tf4153153s15494.html#a11817058
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] select by onclick text

2007-07-20 Thread seedy


I am trying to select all submit, or image buttons on my form that contain a
javascript confirm function.  The following seem to both return the same
thing, any hints?

$('form :image') 
-returns all image buttons, as expected

$('form :[EMAIL PROTECTED] :contains(confirm)]')
-also returns all image buttons, even those who's onclick event does not
contain 'confirm'


-- 
View this message in context: 
http://www.nabble.com/select-by-onclick-text-tf4117850s15494.html#a11710434
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: select by onclick text

2007-07-20 Thread seedy


that doesn't seem to be working for me
nor does
$('form :image').find('[EMAIL PROTECTED] :contains(confirm)]')

I am using jquery 1.1.3.1 if that is what you mean by latest version


Glen Lipka wrote:
 
 I think with the latest version you can say
 $('form :[EMAIL PROTECTED]')
 
 Glen
 
 

-- 
View this message in context: 
http://www.nabble.com/select-by-onclick-text-tf4117850s15494.html#a11712286
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: select by onclick text

2007-07-20 Thread seedy



Glen Lipka wrote:
 
 I whipped up a demo
 http://commadot.com/jquery/selectors/contains.htm
 
 I used EACH().  However, I just feel like I am missing something.
 There has got to be a way to do this without an IF statement.
 
I have done something similar, using .each then checking with regex to see
if the onclick contains a confirm (I need the matched regex for the next
step anyways).


 Also, I would remiss not to mention.  You shouldn't use onclick=.
 The goal (imho) is to make the cleanest possible HTML source.
 Glen
 
I agree, however the page I am working with is .net, so the onclick is
already present.  I am actually trying to track these buttons down so they
can be replaced with the .click() event.  In the case that we decide to turn
off this .net component I am making with jquery, I want all the current
onclick code to continue to function as it currently is.

I will keep my eyes opened to a 1 line solution as well and make sure to
post it if I find one.

On 7/20/07, seedy [EMAIL PROTECTED] wrote:



 that doesn't seem to be working for me
 nor does
 $('form :image').find('[EMAIL PROTECTED] :contains(confirm)]')

 I am using jquery 1.1.3.1 if that is what you mean by latest version


 Glen Lipka wrote:
 
  I think with the latest version you can say
  $('form :[EMAIL PROTECTED]')
 
  Glen
 
 

 --
 View this message in context:
 http://www.nabble.com/select-by-onclick-text-tf4117850s15494.html#a11712286
 Sent from the JQuery mailing list archive at Nabble.com.





-- 
View this message in context: 
http://www.nabble.com/select-by-onclick-text-tf4117850s15494.html#a11714389
Sent from the JQuery mailing list archive at Nabble.com.