[jQuery] Can I use external domain with jQuery media plugin ?

2010-02-15 Thread Sourabh
Hello

it is about jQuery media plugin (http://malsup.com/jquery/media/
misc.html)


Can I use


  

This to load EXTERNAL DOMAIN html page in an iframe that media plugin
I create.
When I tried above code it did not work.Do I need to do anything else
for this ?

Thanks in advance


Re: [jQuery] How to select every checkbox on my page inside a fieldset

2010-02-15 Thread ReynierPM

On 2/15/2010 8:54 AM, Peter Edwards wrote:

2. a checkbox which uses a descendant selector $('#fieldset1
input:checkbox') to explicitly target a given fieldset by ID, and


Thx a lot Peter, you and jQuery rocks. It works perfectly for descendant 
selector #fieldset1 ;)


--
Cheers
ReynierPM


Re: [jQuery] How to select every checkbox on my page inside a fieldset

2010-02-15 Thread Peter Edwards

You can use selectors to do this quite easily - I've posted an example at:

http://jsbin.com/uwaxo/

This has:
1. a checkbox which will select/deselect all others in the page (no 
matter whether they are in different forms/fieldsets,
2. a checkbox which uses a descendant selector $('#fieldset1 
input:checkbox') to explicitly target a given fieldset by ID, and
3. a checkbox which uses its place in the DOM to select checkboxes which 
are within the same fieldset it is part of.


I hope one of these addresses your problem

on 15/02/2010 13:16 ReynierPM said::

Hi:
I have a fieldset and a set of check boxes inside. I want when I pick 
one, for example: value='picked_all' /> Pick all check boxes all the check boxes will be 
checked. How?


[jQuery] How to select every checkbox on my page inside a fieldset

2010-02-15 Thread ReynierPM

Hi:
I have a fieldset and a set of check boxes inside. I want when I pick 
one, for example: value='picked_all' /> Pick all check boxes all the check boxes will be 
checked. How?

--
Cheers
ReynierPM


[jQuery] Re: Jquery form plugin can't find resolution

2010-02-15 Thread Marty Jones
Instead of doing $(this).ajaxSubmit(options);

try

$('#formId').ajaxSubmit(options);

where #formId is the id of the form you are submitting.


On Feb 14, 8:58 am, NHARRY  wrote:
> I have a form that is loaded using .load it is then posted using the
> jquery form plugin. But it won't post see code:
>
>  
> $(document).ready(function() {
>         //shows loading screen whilst posting via ajax
>         $().ajaxStart($.blockUI).ajaxStop($.unblockUI);
>
>         //post form add_customer ajax
>         var options = {
>         target: '#alert',
>     };
>            $('#add_customer').submit(function() {
>                 $(this).ajaxSubmit(options);
>                 return false;
>             });
>
> //load form
> $('#theform').hide().load('form.php', function() {
> $(this).fadeIn();
>  return false;
>
> });
> });
>
>     
>
> I am sure there are others that have had this problem. Help ismuch
> appreciated.


Re: [jQuery] JQuery + TableSorter + TableSorterPager + (Container != Div) = undefined error

2010-02-15 Thread rasi

I don't know if this will solve the problem to you, but it did to me. I just
changed my script from something like:

$(document).ready(function() { 
$("table") 
.tablesorter({widthFixed: true, widgets: ['zebra']}) 
.tablesorterPager({container: $("#pager")}); 
}); 

to

$(document).ready(function() { 
$("#tableid") 
.tablesorter({widthFixed: true, widgets: ['zebra']}) 
.tablesorterPager({container: $("#pager")}); 
}); 

and, of course, added a new id="#tableid" to my table. 

-- 
View this message in context: 
http://old.nabble.com/JQuery-%2B-TableSorter-%2B-TableSorterPager-%2B-%28Container-%21%3D-Div%29-%3D--undefined-error-tp15580200s27240p27592483.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: ajaxsubmit dosn´t send the response to the defined target

2010-02-15 Thread Piet
Yes the div with id "Preview" is available. If I use the
standard .serialize and .load from jquery it works well but
unfortunately .serialize does not handle file uploads.

Peter


On 12 Feb., 14:26, "Jonathan Vanherpe (T & T nv)" 
wrote:
> And more importantly, does it have the same case?
>
>
>
> Marty Jones wrote:
> > I know this may sound silly but do you have a div element with a id of
> > 'Preview'?
>
> > On Feb 12, 5:43 am, Piet  wrote:
> >> Dear all,
>
> >> I m using ajaxSubmit to send a form (incl. fileuploads) to my server.
> >> Everthings works well but the response from the server will not
> >> displayed in the defined target (). Instead of the
> >> response is display in target="_blank".
>
> >> What could be wrong???
>
> >> The submit bind is
>
> >>     $(document).ready(function() {
> >>      $('#store').bind('submit', function() {
> >>       $(this).ajaxSubmit({
> >>        target: '#Preview'
> >>       });
> >>       return false;
> >>      });
> >>     });
>
> >> Greetings
>
> >> Peter
>
> --
> Jonathan Vanherpe - Tallieu & Tallieu nv - jonat...@tnt.be