[jQuery] [validate] custom error messages from remote method

2009-06-15 Thread david

Hi all.
In the new version of jquery.validate (1.5.3) there is an option to
get a remote error message from the server for invalid elements.
I did not find what should be the exact response from the server for
producing such an error message.

>From the documentation:
"The response is evaluated as JSON and must be true for valid
elements, and can be any false, undefined or null for invalid
elements, using the default message; or a string, eg. "That name is
already taken, try peter123 instead" to display as the error message."

But if i return a string, isn't it evaluated as true ?

Thanks in advance,
David


[jQuery] Re: Removing Inner Tags

2009-06-15 Thread Clare

Beautiful! All of them work great.
Thanks for the useful info!

Clare


[jQuery] themeroller - downloading a custom theme seems to be broken

2009-06-15 Thread ken

Hi JQuery,

I noticed today when trying to update my themes via Themeroller that
downloading the custom theme seems to succeed but no longer download
anything.   This worked fine two weeks ago.

The other change I noticed is.. it is now downloading a 1.7.2 ui
theme.Last time it worked, I was downloading 1.7.1.
Note, I have attempted updating a 1.7.1 theme and creating a new 1.7.2
custom theme.   Same behavior for both.  Nothing is downloaded.

When building the download, deselecting all elements other than core
and the download works.

Any ideas?
Thanks..
~Ken


[jQuery] Re: themeroller - downloading a custom theme seems to be broken

2009-06-15 Thread MorningZ

You are better off posting this in the dedicated jQuery UI group

http://groups.google.com/group/jquery-ui?hl=en&lnk=


[jQuery] jQuery, iframe and scrolldown

2009-06-15 Thread arena

Hello,

I am displaying a txt file (log file) in an iframe.

After a certain period of time, i refresh the content of the iframe
doing :

jQuery('iframe#mp').attr('src', samesrc);

previously, i set the event listener :

jQuery('iframe#mp').load(function() {scrolldown();});

so scrolldown() function is called

but i cannot find what to put in that function to force the iframe to
scroll to the bottom of the txt file.

your help will be very appreciated.

thanks you !



[jQuery] iframe and autoscroll to bottom

2009-06-15 Thread arena

Hi

any one have an idea on autoscrolling to the bottom of the content of
an iframe on onload event ?

(the iframe content is a txt file)

thanks


[jQuery] ajaxSetup and getJSON

2009-06-15 Thread Antony Currington

Hi all,

Is it possible to use ajaxSetup to define a username and password that
will then be used by getJSON?

I have an enviuronment where I have a web server that I'm passing a
URL to for a web service call that returns me JSON.  I'm doing the
call via the getJSON method, and get back the data I want, except that
I'm being prompted to log in and I don't want the users to
authenticate.

I need to provide a username and password somewhere in the URL (or
additional details) and so added an ajaxSetup call right before I call
getJSON to set the username and password as follows:

jQuery.ajaxSetup({username: myusername, password: mypassword });
jQuery.getJSON(url, function (jsonObject) {

//do some stuff

}
);

For some reason I'm still getting prompted for the username and
password for the URL, even though they're being set.

I'm working with IE6, and jQuery 1.3.2.

Any assistance would be greatly appreciated.

Regards,
Antony


[jQuery] Re: Removing Inner Tags

2009-06-15 Thread Charlie





assuming you're keeping the  tag there are quite a few ways to
do this, here's a few:

1)
$("div h1 a").appendTo("div");
$("div p, div h1").remove();

2)
var link=$("div h1 a");
$("div").html(link);// nothing left in div except  tag with
this example, would wipe out anything else in div too

3)
$("div h1 a").insertBefore("p").parents("div").find("p").remove();


be careful ,  very generic selectors used in example and some will
remove every p in every div! only used as example, you'll need to be
more specific with selector ID's, attributes or classes. 


Clare wrote:

  hi all, I have something like below:


	
		
			My Link
		
	


I'd like to get rid of only the inner tags, 'p' and 'h1'.

Any help would greatly be appreciated.

  






[jQuery] Re: Jquery Ajax Post question

2009-06-15 Thread James

By default, any code that you put after the $.post(); part will be
executed immediately after $.post() is executed. That is, it will not
wait for the AJAX response. You would not be able to do the "do
something with data here" part correctly. To do so, you can using
jQuery's $.ajax() function, which allows an option parameter called
'async'. By setting this to 'false', the AJAX will not execute
asynchronously, meaning the rest of your code will wait for your
request before continuing.
Read here for more info:
http://docs.jquery.com/Ajax/jQuery.ajax#toptions

function disableTips ()
{
var someVar = null;

$.ajax({
url: 'test.php',
type: 'post',
data: {id:id_val},
async: false,
success: function(data) {
someVar = data;
}
});

  alert(someVar);
}



On Jun 12, 4:02 am, "jef...@gmail.com"  wrote:
> $.post("test.php", { func: "getNameAndTime" },
>   function(data){
>     process(data);
>   });
>
> Is one of the examples given for Jquery.
>
> Now I am trying to implement Jquery Ajax instead of a custom class we
> have here so am trying to catch on so bear with me.
>
> Above, it shows POST variable "func" containing "getNameAndTime" as a
> value correct? So if I wanted to pass along say names I would pass
> along {first: "Bob", last: "Smith"}?
>
> I find adding the callback function right in the call a little awkward
> (probably because I'm new to Jquery). Basically I was adding a onClick
> function to a link to a function (function test()) and inside I was
> going to add this jquery code. I just wanted to then have the returned
> data at my disposal in a variable but it looks like I need to pass it
> somewhere else?
>
> I basically wanted to do this:
>
> function disableTips ()
> {
>         $.post("./test.php", {id : id_val}, function(data){
>         something here?
>         }
>         }) ;
>
>       then do something with data here
>
> }
>
> Am I going about it completely the wrong way with jquery?


[jQuery] Re: Periodical updater using Json in Jquery?

2009-06-15 Thread Ricardo

setTimeout?

jQuery.fn.ajaxUpdater = function(url, interval){
   var self = this;
   function update(){
 $.getJSON(url+'?'+(+new Date), function(data){
 self.text( $(data).find('item') );
 setTimeout(update, interval);
 });
   };
   update();
});

$('#myEl').ajaxUpdater('bla.json', 2000);

(appending date to avoid caching)

On Jun 15, 12:50 pm, jwerd  wrote:
> I'm grabbing an update from a json file, but I want to have it update
> perodically to the screen, overwriting what it found before... sort of
> like Prototype's Ajax Updater.  Is this possible in Jquery?  I scoured
> the groups to but only found a digg spy thing, which is sort of what
> I'm looking for but it was dated for 2007, so there's gotta be
> something new or is that it?
>
> Please help.  TIA
>
> Jake


[jQuery] Re: get email and send email?

2009-06-15 Thread inkexit



On Jun 14, 9:41 pm, John Bill  wrote:
> make up !
>

Maybelline or L'Oréal?


[jQuery] Re: AJAX Tab with Struts2 and SiteMesh

2009-06-15 Thread SteveM

The problem was that I named the AJAX fragments with the ".jspf"
extension.  I changed them back to ".jsp" and Tomcat was happy.

On Jun 15, 10:05 am, SteveM  wrote:
> This may be a post for the struts list, but I'll start her.  I'm using
> Jquery with Struts2 and SiteMesh.  My tabs work fine with all my code
> on a single JSP.  I tried switching to AJAX, but that breaks the OGNL
> reference to a list on the second TAB.  I set-up a separate namespace
> in Struts so that I could exclude the pages from SiteMesh.  My tabs
> looked like this:
>
>  namespace="rpc" method="generalInfo" >
>     
> 
>  namespace="rpc" method="listStreets" >
>     
> 
>  namespace="rpc" method="listProperties" >
>     
> 
> 
> 
>     General Information span>
>     Streets struts:a>
>     Properties struts:a>
> 
> 
>
> Code from the first tab works fine, but the AJAX load of the following
> code produces "No Neighborhoods Streets to show." Tab order has no
> effect. As I said, if I paste the code below into a tab div tag using
> the non-AJAX style, then everything works fine and the list is
> displayed.  Has anyone else run into this problem?
>
> <%@ page language="java" pageEncoding="UTF-8" %>
> <%@ include file="/WEB-INF/pages/include/taglibs.jspf" %>
> 
>   
>      
>             Direction
>             Name
>             Qualifier
>         
>   
>     
>     
>          id="neighborhoodStreet" status="status">
>             
>                     
>                        
>                     
>                      value="streetName" />
>                      value="streetQualifier" />
>             
>         
>     
>     No Neighborhoods Streets to
> show.
>   
> 
>
> Steve Mitchellhttp://www.ByteworksInc.com


re[jQuery] -ordering elements

2009-06-15 Thread debussy007


Hi,

I have a set of td which have id's like:
[...]
[...]
[...]
[...]

I would like to re-order them to have consecutive numbers,
what is the best way to achieve this ?

So far I have the code below, which iterates through all td's:
$('td[id^=order]').each(function(i) {
tdId = $(this).attr('id').substring(5, $(this).attr('id').length);
alert(tdId + ' - ' + (i+1)); 
// ..
});

Thank you for any help!
-- 
View this message in context: 
http://www.nabble.com/re-ordering-elements-tp24045411s27240p24045411.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Removing Inner Tags

2009-06-15 Thread Clare

hi all, I have something like below:




My Link




I'd like to get rid of only the inner tags, 'p' and 'h1'.

Any help would greatly be appreciated.


[jQuery] dynamically add link after certain hrefs

2009-06-15 Thread keith2734

I work on a portal website that has approximately 700 pages and
several thousand links. Some of these links are to various documents
(.doc, .pdf, .xls). I would like to use Jquery to dynamically find
these links on a page when the pages load and add another link
directly after it that can invoke a modal window. When the modal
window opens I need to hold onto the values of the original link as it
will be stored in a DB. So I think I will need the second link to
contain the first links name and URL pattern as some sort of property
that I can store. I am not sure the best way to accomplish this.

For example:

The original links would look like:
Document
PDF
WebSite


After the JS dynamically updates the link it would look like:

Document

PDFNAME

WebSite


[jQuery] Autocomplete + jScrollPane

2009-06-15 Thread Tekki

Evening,

I'm trying to link these two plug-ins together and was wondering if it
were possible. The 'autocomplete' list should contain custom scroll
bars. If there is another way of performing this, please let me know.
Thank you.


[jQuery] Help needed - jQuery width jumping

2009-06-15 Thread joro3d

Hi,

I have been fighting a terrible problem.

The situation that I have is: I have a column with text (#content p)
and next to it an anchor with image.
Images can be portrait or landscape and ratio is not fixed. They just
have to fit in 400x400px square.
My task is to make the text column which stays on the left of image
adjust its width depending on image orientation. At the same time the
#bighthumb has to self-adjust its width too, so they fill the #content
space nicely.
==
In HTML I have:
-

  

   blah blah blah blah  some long enough text...

Image caption
  

... and just before the  i have:



  

=
JS code:
--

var photo_w; // photo width
var photo_h; // photo height
var side_padding = 10; // the offset of the prev/next buttons from the
image edges

$(window).load(function() {
  var pic = $("#bigthumb>img");

  pic.removeAttr("width");
  pic.removeAttr("height");

  photo_w = pic.width();
  photo_h = pic.height();


  $("#content>p").css("width", parseInt($("#content").css("width"),
10) - photo_w - 62);
  if (photo_h > photo_w) {
$("#bigthumb").css("height","402px").css("width", photo_w + 2);
$("#bigthumb>img").css("height","400px");
  }
  else {
$("#bigthumb").css("width","402px");
$("#bigthumb>img").css("width","400px");
  }

});

=
And CSS:
--

#content {
float: right;
width: 718px;
  }

#content p {
text-align:justify;
float:left;
width: 256px; // the default width for landscape-oriented images
padding: 10px 0 10px 20px;
  }

#bigthumb {
float:right;
margin: 20px 20px 0 20px;
text-align:right;
  }

#bigthumb img {
margin-bottom: 5px;
border: 1px solid #999;
  }

==



What happens is: Yes, everything works as expected. Landscape-images
(with default  width = 256px) work just perfect. The problem is
that when a page with portrait-oriented image loads - first (while
loading) it displays the  width default (256px) width. And right
after everything is loaded - the paragraph JUMPS to its new width.
This is very unpleasant effect which I would like to avoid. Using
animate() is unsatisfactory too... Things were even worse when i hade
the JS includes in the , so that is the reason I moved it to
document end.

I would highly appreciate some help because I am quite new in jQuery!
Is there a way to have the css width set before the paragraph appears
in the browser?

(Please have in mind that having text flowing around image (generic
css float technique) is not an option for the task. They must be in
separate columns.)


[jQuery] Re: GPL e MIT Jquery

2009-06-15 Thread Egipicio

good night!

If I put a plug in GPL on my system.

My whole system will be GPL?

I have to provide the source of it all for free?

My system that I created I still have the rights over it?

hugs


On 15 jun, 19:26, Egipicio  wrote:
> Good night
>
> I think wanting to know if you have GPL on my site ..
>
> someone asked the sorce of the whole system if I only mandatory
> available?
>
> obs: The system does not GPL and everything was done by my in
> php . just plug
> jquery GPL and that this coupled system ...


[jQuery] Re: Need help cuz I don't get 'this'

2009-06-15 Thread Logictrap

Thank you that worked!!!

I think I may understand how to use children if you could also show
how to get the img src attrbitute when 'this' contains:


  

  
http://www.test.org"; target="_blank">Test Logo

  




On Jun 14, 9:25 am, Erik Beeson  wrote:
> Like MorningZ said, more info would be helpful, but this should work:
>
> $('#output').html('SRC: ' + $(this).children('img').attr('src'));
>
> --Erik
>
> On Sun, Jun 14, 2009 at 7:02 AM, Logictrap  wrote:
>
> > I need to get the src attribute of an img element that is a sub-
> > element of 'this' but I can't figure out how to traverse 'this' to get
> > there.
>
> > The contents of 'this' are:
>
> >      > height="200" alt="beach" />
>
> > this works:
>
> >     $('#output').html("ID: " + this.id);
>
> > This does not:
>
> >     $('#output').html("SRC: " + this.img.src);
>
> > How do I get the contents of the img.src attribute'?


[jQuery] Re: Outline html elements on hover and click

2009-06-15 Thread Dave

Works like a charm. Many thanks. =)


On Jun 15, 3:49 pm, Karl Swedberg  wrote:
> Hi Dave,
>
> This should get you started:
>
>     
>     $(function(){
>        $( "#divCodeArea" )
>        .mouseover(function(event) {
>          $(event.target).addClass('outlineElement');
>        })
>        .mouseout(function(event) {
>          $(event.target).removeClass('outlineElement');
>        })
>        .click(function(event) {
>          $(event.target).toggleClass('outlineElementClicked');
>        });
>     });
>     
>     
>         #divCodeArea
>         {
>             border: solid 2px gold;
>             padding: 10px;
>         }
>         .outlineElementClicked,
>         .outlineElement
>         {
>             outline: 1px solid red;
>         }
>     
>
> Note, I changed border to outline so it wouldn't mess with the  
> elements' dimensions.
>
> --Karl
>
> 
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Jun 15, 2009, at 7:36 AM, Dave wrote:
>
>
>
>
>
> > Hi
>
> > Am a jquery novice and are trying to make code that adds a hover event
> > to all html elements within a certain container. On hover the element
> > should be outlined by adding/removiing a css class. Thats the first
> > thing and I can't get that to work with the code below.
> > The second part is to keep the element outlined when its clicked, and
> > also when selecting multiple elements by (ctrl+click).
>
> > Have searched for a outline plugin, but came up with nothing.
>
> >  > "http://
> >www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > http://www.w3.org/1999/xhtml";>
> > 
> >    
> >    
> >    
> >    $(function(){
> >        $( "#divCodeArea" ).each(function()
> >            {
> >                $(this).hover
> >                (
> >                    function()
> >                    {
> >                    $(this).addClass("outlineElement");
> >                    },
> >                    function()
> >                    {
> >                    $(this).removeClass("outlineElement");
> >                    }
> >                );
> >            }
> >        );
> >    });
> >    
> >    
> >        #divCodeArea
> >        {
> >            border: solid 2px gold;
> >            padding: 10px;
> >        }
> >        .outlineElement
> >        {
> >            border: solid 1px red;
> >        }
> >    
> > 
> > 
> >    
> >        
> >            1
> >        
> >            2
> >        
> >            333  5 66
> >        777
> >        
> >            
> >            
> >            CCXX
> >            
> >            
> >            
> >        
> >    
> > 
> > 
>
> > /Cheers- Hide quoted text -
>
> - Show quoted text -


[jQuery] Re: anonymous function and code reusing

2009-06-15 Thread Ricardo

That's why bind() supports a 'data' argument:

$(document).ready(function(){

  $("#earth").bind('click', { stuff: 'param1' }, myFunction);
  $("#moon").bind('click', { stuff: 'param2' }, myFunction);

  function myFunction(e){
 alert( e.data.stuff );
  };

});

see here: http://docs.jquery.com/Events/bind#typedatafn

On Jun 13, 1:07 pm, Mirko Galassi  wrote:
> Hi guys, apologize for posting again the same topic. I haven't found a 
> solution yet for my simple problem. I have a simple function that works when 
> a link is clicked $(document).ready(function(){ $("#moon").click(function(){ 
> alert("do something"); }); }); I need to reuse that function passing a 
> parameter so I modified the function like that $(document).ready(function(){ 
> $("#moon").click(myFunction("param")); 
> $("#earth").click(myFunction("param2")); function myFunction(param){ 
> alert(param); } }); I thought it should have worked but it doesn't. In fact, 
> when the page has loaded even without clicking the first and second 
> istructions are executed: $("#moon").click(myFunction("param")); 
> $("#earth").click(myFunction("param2")); whereas with the following case 
> $("#moon").click(function(){ alert("do something"); }); the function need to 
> be activate by a click any idea? Thanks a lot c


[jQuery] GPL e MIT Jquery

2009-06-15 Thread Egipicio


Good night

I think wanting to know if you have GPL on my site ..

someone asked the sorce of the whole system if I only mandatory
available?

obs: The system does not GPL and everything was done by my in
php . just plug
jquery GPL and that this coupled system ...


[jQuery] Re: Select/Unselect radio buttons

2009-06-15 Thread Nikola

Give the three master radio buttons unique ID's or classes.  Then,
upon clicking one of them you can add / remove classes and
attributes...

$('#masterRadioOne').click(function(){
 ($('.radio1').is('.on')) ? $('.radio1').removeClass('on').attr
("checked",false) : $('.radio1').addClass('on').attr
("checked","checked") ;
});

I used the class name 'on' so that the ternary would show on one
line.. normally I'd use something like 'selected' or 'checked'..

On Jun 15, 12:26 pm, Erich93063  wrote:
> I have a very long form full of items that the user rates from 1 to 3.
> There may be 100 items that the user needs to rate. For each item to
> rate they are given three radio buttons for 1, 2 or 3 for them to
> choose from. Now initially all the radio buttons are unchecked, but
> each item to rate is required. So this process can take quite a bit of
> time having to check each radio button. I need a way at the top of the
> form to have three master radio buttons for 1, 2 and 3 to where if
> they click 1 it will select/deselect all of the radio buttons for the
> rating 1 and the same for 2 and 3. I would like to work off of the CSS
> class selecter for this so I will be giving the radio buttons classes
> of "radio1", "radio2" and "radio3". What's the best way to go about
> this?
>
> THANKS


[jQuery] How to use keypress on div element with jquery

2009-06-15 Thread MadeOfRose

Hi guys,

i am new on jquery. i am trying to do some practices. i' want to do an
ajax autocompleter. First i  have to solve some client side script
issues. Below, there is a page that includes div elements. i want to
work them like a dropdownlist. You can navigate between rows by
pressing down and up keys. Anyway,what i did it is working with ie7,
but it does not work with firefox. Does anybody know why?

Thanks for any response.

Here is the code;




.main
{
border:1px solid #000;
width:200px;
position:absolute;

/*top:200px;
left:200px;*/
}
.selected
{
background:#ccc;
}

  http://code.jquery.com/jquery-latest.js";>

function focusIt() {
$("#main").focus();
}
function main_onkeydown(e) {
if (this && !this.disabled) {
var e = e ? e : window.event;
if (e == null) return;
kCode = e.keyCode || e.which;
}
switch (kCode) {
case 40:
moveDown(this);
break;
case 38:
moveUp(this);
break;
case 13:
hideMain();
break;
default:
alert(kCode);
}
}
function hideMain() {
$("#main").fadeOut(500);
}
function moveDown(objWnd) {
var $selected = $("#main .selected");
if ($selected.length == 0) {
$("#main > div").filter(function(index) {
return index == 0;
}).attr("class", "selected");
return;
}
$selected.attr("class", "");
var $nextRow = $selected.next()
$nextRow.attr("class", "selected");
}
function moveUp(objWnd) {
var $selected = $("#main .selected");
if ($selected.length == 0) {
$("#main > div").filter(":last-child").attr("class",
"selected");
return;
}
$selected.attr("class", "");
var $nextRow = $selected.prev()
$nextRow.attr("class", "selected");
}
$(document).ready(function() {
   //Here is the part that i use for event binding.
   //it does not work even you try with keypress
   //i think something worng with div elements key capture
events.
   //Anyway if somebody solve this issue, i will owe him/her.
   $("#main").bind("keydown", function(e) { main_onkeydown
(e); });
});







Row1
Row2
Row3
Row4
Row5
Row6






Thank you


[jQuery] Re: [autocomplete]

2009-06-15 Thread LexHair

How about this? (#hidden is the id of the hidden input field you want
to fill in.)

$('#autocomplete').autocomplete({serviceUrl:'/your_directory/
your_file.php',
onSelect: function(value, data){
$('#hidden').val(data);
}
});

On Jun 12, 5:22 pm, shaded  wrote:
> im a newbie trying to use the autocomplete plugin. I have a php array
> returning a name and an id.
>
> the autocomplete drop down displays only the first value before the |
> in   name|id
>
> This is fine but how do i get the 'id' part to be stored in a hidden
> field. I've looked at the examples 
> herehttp://view.jquery.com/trunk/plugins/autocomplete/demo/
> and it seems single bird does what i need, but im not sure how the
> hidden field get populated.
>
> please help
> thanks.


[jQuery] ajaxSubmit on a form with a file field causes JSON response to be downloaded as a file

2009-06-15 Thread christian.oudard

I'm using the jQuery Form plugin, and I have a form that I am
submitting using ajaxSubmit(). The server gives a JSON response to
this ajax request. I have a file field on the form, but the server
does not use the data from this field for this particular request.
However, when the field is filled, the browser tries to download the
JSON response as a file. When the field is empty, the browser
correctly processes the JSON response.

What would cause the change in browser behavior? This happens in both
IE8 and Firefox 3. The server response is identical for both cases,
including headers. Content disposition is not set at all in the
response headers.


[jQuery] IE Bug Help: breaks column CSS heights when select box changed

2009-06-15 Thread Jimbo

Hi guys,

Got a nice problem with IE :-( FF and chrome etc are absolutely fine.
Using IE7 atm.

I have a structure of 2 columns and ive emptied the left column to
nothing to narrow the bug hunt down but the right hand column is a
list of results quite a substantial height.

On load they are fine until the jQuery is ran which makes changes to a
select box above the results in the right hand column.

I can actually update the options using $(this).html(...) but as soon
as I make a change using attr() it then chops the whole height down
hiding the results even though they are there. Its as though higher up
the tree its forgetting the height of its content.

Ive tried a few things and still get the issue and really struggling
for ideas.

Any willing to help?

Thanks guys.


[jQuery] IE Bug Help: breaks column CSS heights when select box changed

2009-06-15 Thread Jimbo

Hi guys,

Got a nice problem with IE :-( FF and chrome etc are absolutely fine.
Using IE7 atm.

I have a structure of 2 columns and ive emptied the left column to
nothing to narrow the bug hunt down but the right hand column is a
list of results quite a substantial height.

On load they are fine until the jQuery is ran which makes changes to a
select box above the results in the right hand column.

I can actually update the options using $(this).html(...) but as soon
as I make a change using attr() it then chops the whole height down
hiding the results even though they are there. Its as though higher up
the tree its forgetting the height of its content.

Ive tried a few things and still get the issue and really struggling
for ideas.

Any willing to help?

Thanks guys.


[jQuery] jQuery [validate] - Validating the same form twice

2009-06-15 Thread SeiferTim

OKay, I'm trying to setup my site to be all on one page with a login/
logout button.
When the user clicks "Login", a hidden div with my form in it is
displayed. Once they login successfully, "Login" becomes "Logout".
When they click "Logout", it goes back to showing "Login", and then
they can click it to show the form again.
The problem is when they click "Login" the second time, and submit the
form, I get an error:

$.data(element.form, 'validator') is undefined

This is what my code looks like now (simplified):

function loginDone(data) {
$('#login-link').fadeOut('fast', function() {
$('#logout-link').fadeIn('fast');
});
}

$(document).ready(function() {
loginFormVal = $('#loginForm').validate({
submitHandler: function(form) {
$(form).ajaxSubmit({
dataType: 'json',
success: loginDone
});
}
});
});


[jQuery] Sorted unordered lists

2009-06-15 Thread shaw1ea

I have two sorted unordered lists.
I allow users to drag and drop elements from the first list to the
second list.
I want to get the text of the elements that have been dnd on the
second list when
the user clicks the submit button.  All I have been able to get is the
ids of the list
elements.  Is there a way to get the actual text instead of the ids?


[jQuery] Sorted unordered lists

2009-06-15 Thread shaw1ea

I have two sorted unordered lists.
I allow users to drag and drop elements from the first list to the
second list.
I want to get the text of the elements that have been dnd on the
second list when
the user clicks the submit button.  All I have been able to get is the
ids of the list
elements.  Is there a way to get the actual text instead of the ids?


[jQuery] Re: Compute body width WITHOUT scrollbars

2009-06-15 Thread Lideln

Hi !

Thank you for the answer ! I will test that tomorrow and I'll keep you
posted.

Good evening, and thanks again !

On Jun 15, 6:48 pm, "mike.helgeson"  wrote:
> This might be helpful:http://plugins.jquery.com/project/getscrollbarwidth
>
> On Jun 15, 11:32 am, Lideln  wrote:
>
> > Hi all,
>
> > I have an application that resizes itself upon window resize. The
> > problem is that if I resize down the window so it is smaller, two
> > scrollbars appear during resize (nothing new for now...), but the
> > computed body width is the width with the scrollbars.
>
> > Then, when I stop resizing, my app resizes itself, but as you may have
> > guessed, there are a small empty space on right and bottom,
> > corresponding to the scrollbars.
>
> > I have not found a pretty way to do it (of course I could set a timer
> > inside my resize function that will call itself again 10ms later, just
> > once, but it is dirty I think).
>
> > If anyone has an idea... I am listening :)
>
> > Thanks,


[jQuery] Re: autocomplete: current state?

2009-06-15 Thread Jörn Zaefferer

You can get the latest code here:
http://jquery-ui.googlecode.com/svn/branches/dev/autocomplete/

Required files:
http://jquery-ui.googlecode.com/svn/branches/dev/autocomplete/ui/ui.autocomplete.js
http://jquery-ui.googlecode.com/svn/branches/dev/autocomplete/themes/base/ui.autocomplete.css

Jörn

On Mon, Jun 15, 2009 at 5:51 PM, hobbesDev wrote:
>
> hi,
>
> i wanted to test the newest version of autocomplete. The current
> implementation seems to be very old and is still based on jquery 1.2.6
> (autocomplete 1.0.2) (http://bassistance.de/jquery-plugins/jquery-
> plugin-autocomplete/).
>
> Quiet new is the debate on current features (see 
> http://jqueryui.pbworks.com/Autocomplete.)
> Autocomplete seems to be an jquery ui plugin now. selectmenu is very
> interessting too.
>
> is there any sourcecode available for testing? an updated roadmap
> would be great as this one (http://jqueryui.com/docs/Roadmap) is a bit
> outdated
>
> best regards
> stefan
>


[jQuery] Re: css() function returns different results on different browsers

2009-06-15 Thread upsilon

Kean and Dave, thanks for your answers.
I agree it's not a huge bug (is it really one?), my question was more
aimed to... improve my jQuery knwoledge.

> If you are trying to parse out the URL, your code needs to be able to
> handle either format. The browser should accept either format,
> although it wouldn't surprise me if IE was pickier.

Well, it's ok, my code now handles either format!

> Your English is excellent!

Thank you :)


[jQuery] Re: Compute body width WITHOUT scrollbars

2009-06-15 Thread mike.helgeson

This might be helpful:
http://plugins.jquery.com/project/getscrollbarwidth


On Jun 15, 11:32 am, Lideln  wrote:
> Hi all,
>
> I have an application that resizes itself upon window resize. The
> problem is that if I resize down the window so it is smaller, two
> scrollbars appear during resize (nothing new for now...), but the
> computed body width is the width with the scrollbars.
>
> Then, when I stop resizing, my app resizes itself, but as you may have
> guessed, there are a small empty space on right and bottom,
> corresponding to the scrollbars.
>
> I have not found a pretty way to do it (of course I could set a timer
> inside my resize function that will call itself again 10ms later, just
> once, but it is dirty I think).
>
> If anyone has an idea... I am listening :)
>
> Thanks,


[jQuery] Training: jQuery Fundamentals (Carrboro, NC -- July 29-30)

2009-06-15 Thread rmurp...@gmail.com

Announcing jQuery Fundamentals, a two-day class at Carrboro Creative
Coworking in Carrboro, NC (July 29-30) that will give you the
knowledge you need to properly and effectively start integrating
jQuery, the popular JavaScript library, into your web development
projects. Over the course of two days, you’ll learn the fundamental
concepts of JavaScript and jQuery and tackle real-world exercises to
solidify your understanding of the language and the library.

http://www.carrborocoworking.com/content/jquery-fundamentals

jQuery is so easy to learn that it’s possible to skip over the
fundamentals of JavaScript. With that in mind, we’ll start the class
with a high-level overview of key JavaScript principles, including
concepts like logic, objects, variable scope, and closures. From
there, we’ll move on to a thorough overview of the jQuery library—
selecting, traversing, manipulating, effects, events, XHR (Ajax), and
plugins. Throughout the class, we’ll focus on best practices for
writing and organizing jQuery code for easy reuse and refactoring.
Participants will leave the class as upstanding members of the jQuery
community, armed with a solid understanding of the concepts of both
JavaScript and jQuery, and ready to start leveraging the library in
their projects.

This class is aimed at beginning jQuery users, although intermediate
users may also benefit from the more formalized introduction to the
library this class will offer.

If you have any questions about the class, drop me an email at
rebe...@rebeccamurphey.com, and I hope to see you there!


[jQuery] Re: Jcarousel - Can I make a jcarousel completely reset and reload!

2009-06-15 Thread Chris

Try doing something like this;


var theModelCarousel = null;

function modelCarousel_initCallback(carousel) {
theModelCarousel = carousel;
// Callback functuions if needed
};

jQuery(document).ready(function() {
jQuery('#modelCarousel').jcarousel({
initCallback: modelCarousel_initCallback
// Other settings if needed
});
});

function clearModelCarousel() {
theModelCarousel.reset();
theModelCarousel.add(0,someImageURL1);
theModelCarousel.add(1,someImageURL2);
theModelCarousel.size(2);
}


I set a global variable reference to the carousel from the init
callback funtion. The global can then be accessed from your other
functions.

On Apr 24, 11:57 am, TomDB  wrote:
> I'm also trying to have access to thejcarouselobject. there are a
> couple of methods accessbile via a callback function, but since I'd
> like to call them from an other objects callback function - I'd need
> them to be accessble directly. Unless somebody has an other solution?
>
> On Feb 28, 2:01 am, Alextronic 
> wrote:
>
> > Oh I'm having the same problem, exactly.
>
> > I have been working on this for a long time, me not being proficient
> > in jQuery.
> > I'm trying to do something very much like your tabs loading new sets
> > of items.
> > The carousel gets confused, the items seem to persist, and I can'treloadit 
> > without having the old number of items.
> > Did you get to a solution?
> > Thank you
>
> > Alex
>
> > On 13 feb, 09:19, FruitBatInShades  wrote:
>
> > > I am having terrible trouble gettingajcarouselto reset.  I have a
> > > series of tabs that when clicked get thejcarouselto load witha new
> > > set of items.  I have been trying for days, trying the ajax demos and
> > > just replacing the content by setting the html() but to no avail. it
> > > works but the carousel gets confused. Even if I walk the list and
> > > remove all the items they still seem to be there.
>
> > > 1. How do I get a reference to the carousel object via jquery
> > > 2. How do I get it clear itself and the dom of its items
> > > 3. How do Ireloadit without it still having the old number of items
> > > etc.
>
> > > Many thanks
>
> > > Lee


[jQuery] Superfish - Bugging in Mozilla, Google Chrome, Opera but not IE?

2009-06-15 Thread Buch

Heya,

I recently found the superfish jquery plugin and really liked it but
when I try to implement it on my site every works pretty fine until I
want Main > Sub > Sub menus shown only IE explorer shows theese but
Mozilla Firefox and Goole Chrome all fail at showing them. I have
tried multiple times to strip out everything and only have the menu an
it still dosent work for me.

My own possible solutions could be that I am using the newest version
of jQuery and last I checked the superfish site it used 1.2.6 version.
But I really have no idea whats wrong.

Best Regards


[jQuery] [blockUI]Showing iframe without reloding it - Problem

2009-06-15 Thread kulasart

Hi! I have some problem with BlockUI jQuery plugin.

test.html
[code]






#page {display:none}



jQuery(document).ready(function(){

$('#view').click(function() {
$.blockUI({ message: $('#page') });
 setTimeout($.unblockUI, 2000);
});
});






http://www.google.com";>



[/code]

When i'm running this this file (test.html) site in iframe(google.com)
is loading first time.
And when i click on SHOW ME button it is loading second time, and when
blockUI will unlock it is loading third time.

Is there any way to load this page witch is in iframe (eg. google.com)
only once?


[jQuery] Periodical updater using Json in Jquery?

2009-06-15 Thread jwerd

I'm grabbing an update from a json file, but I want to have it update
perodically to the screen, overwriting what it found before... sort of
like Prototype's Ajax Updater.  Is this possible in Jquery?  I scoured
the groups to but only found a digg spy thing, which is sort of what
I'm looking for but it was dated for 2007, so there's gotta be
something new or is that it?

Please help.  TIA

Jake


[jQuery] autocomplete: current state?

2009-06-15 Thread hobbesDev

hi,

i wanted to test the newest version of autocomplete. The current
implementation seems to be very old and is still based on jquery 1.2.6
(autocomplete 1.0.2) (http://bassistance.de/jquery-plugins/jquery-
plugin-autocomplete/).

Quiet new is the debate on current features (see 
http://jqueryui.pbworks.com/Autocomplete.)
Autocomplete seems to be an jquery ui plugin now. selectmenu is very
interessting too.

is there any sourcecode available for testing? an updated roadmap
would be great as this one (http://jqueryui.com/docs/Roadmap) is a bit
outdated

best regards
stefan


[jQuery] Re: Superfish: 3rd Level Links (Fly-outs) are not showing up in Internet Explorer

2009-06-15 Thread Buch

I have the exact opposite problem my IE is showing while all other
browsers show.

On May 25, 3:13 am, Susan  wrote:
> I just discovered that Internet Explorer is not showing the 3rd level
> of the menu.
>
> http://tinyurl.com/cr2wmr(very much a work in progress)
>
> I believe it's a js issue and not a css one.  I've removed all js/
> jquery except the menu stuff and the problem still exists.  I'm not
> sure what to do now.  I know it should work because the examples on
> thesuperfishsite do.
>
> Also, I just pulled up my test page that I made before integrating the
> CMS and they don't work there either.  Maybe there will be some clue
> here because it's the only js/jquery involved.  http://tinyurl.com/r5bm7s
>
> I will be very grateful for any help.  This is a client's site and
> it's due this week.  Yikes!


[jQuery] Select/Unselect radio buttons

2009-06-15 Thread Erich93063

I have a very long form full of items that the user rates from 1 to 3.
There may be 100 items that the user needs to rate. For each item to
rate they are given three radio buttons for 1, 2 or 3 for them to
choose from. Now initially all the radio buttons are unchecked, but
each item to rate is required. So this process can take quite a bit of
time having to check each radio button. I need a way at the top of the
form to have three master radio buttons for 1, 2 and 3 to where if
they click 1 it will select/deselect all of the radio buttons for the
rating 1 and the same for 2 and 3. I would like to work off of the CSS
class selecter for this so I will be giving the radio buttons classes
of "radio1", "radio2" and "radio3". What's the best way to go about
this?

THANKS


[jQuery] Re: Tell me , Select option value

2009-06-15 Thread bharani kumar
thanks

On Mon, Jun 15, 2009 at 5:06 PM, david  wrote:

>
> For alert : you must define on which event and then use the bind
> function:
> http://docs.jquery.com/Events/bind#examples
>
> On Jun 15, 2:33 pm, david  wrote:
> > You mean the value of the radio button.
> > please take a look athttp://
> snipplr.com/view/3372/radio-button-values-using-jquery/
> >
> > On Jun 15, 2:17 pm, bharani kumar 
> > wrote:
> >
> > > Hi all ,
> >
> > > Am little bit confusion in radio selection ,
> >
> > > My doubt is very simple ,
> >
> > > Having two radio button ,
> >
> > > alert which ratio option i selected for example Male and female
> >
> > > Thanks
>



-- 
Regards
B.S.Bharanikumar
http://php-mysql-jquery.blogspot.com/


[jQuery] Re: Question about 'ready' event

2009-06-15 Thread Bernad

Yeah, this works perfectly!

Many thanks for the idea, Pierre.

Best Regards.

On Jun 12, 8:20 pm, Pierre Bellan  wrote:
> I see one fast solution,
>
> You put a variable isLoaded in your top frame.
> At first, the value is false, and when it's ready you change the value to
> true.
>
> Inside the iframe that need the function, you check the value of the
> variable inside a periodic call.
> When the value is true, you can make the call and you must stop the periodic
> call
>
> Fast solution, but not very clean. Maybe someone had a better idea ?
>
> Pierre
>
> 2009/6/12 Bernad 
>
>
>
> > Hello everybody.
>
> > I have one problem but I can't solve it.
>
> > I have one page with 3 iframes. The first iframe has a 'ready' event.
> > Inside this event I am calling a function which is in the parent page.
> > This function needs that the page was loaded, I mean, when the page is
> > loaded this function can be called, not before.
> > My problem is that when I'm calling this function the parent page is
> > not loaded yet, so, I need to call it when the page whas ready.
>
> > Any idea?


[jQuery] Re: Question about 'ready' event

2009-06-15 Thread Bernad

Yeah, this works perfectly!

Many thanks for the idea, Pierre.

Best Regards.

On Jun 12, 8:20 pm, Pierre Bellan  wrote:
> I see one fast solution,
>
> You put a variable isLoaded in your top frame.
> At first, the value is false, and when it's ready you change the value to
> true.
>
> Inside the iframe that need the function, you check the value of the
> variable inside a periodic call.
> When the value is true, you can make the call and you must stop the periodic
> call
>
> Fast solution, but not very clean. Maybe someone had a better idea ?
>
> Pierre
>
> 2009/6/12 Bernad 
>
>
>
> > Hello everybody.
>
> > I have one problem but I can't solve it.
>
> > I have one page with 3 iframes. The first iframe has a 'ready' event.
> > Inside this event I am calling a function which is in the parent page.
> > This function needs that the page was loaded, I mean, when the page is
> > loaded this function can be called, not before.
> > My problem is that when I'm calling this function the parent page is
> > not loaded yet, so, I need to call it when the page whas ready.
>
> > Any idea?


[jQuery] Compute body width WITHOUT scrollbars

2009-06-15 Thread Lideln

Hi all,

I have an application that resizes itself upon window resize. The
problem is that if I resize down the window so it is smaller, two
scrollbars appear during resize (nothing new for now...), but the
computed body width is the width with the scrollbars.

Then, when I stop resizing, my app resizes itself, but as you may have
guessed, there are a small empty space on right and bottom,
corresponding to the scrollbars.

I have not found a pretty way to do it (of course I could set a timer
inside my resize function that will call itself again 10ms later, just
once, but it is dirty I think).

If anyone has an idea... I am listening :)

Thanks,


[jQuery] Re: document.body is null or is not an object

2009-06-15 Thread Lideln

Ok...

I did not succeed in fixing that issue. Nevertheless, a colleague told
me about "multiple_ie", which is an application that allows to install
(in stand alone) all desired versions of IE. This software seems to
work well, as it has solved my issue (but the "standard" IE still
won't work).

Thanks anyway, everyone, for your help !



On Jun 12, 8:33 pm, Lideln  wrote:
> Hi !
>
> Thanks for the answer. But, if it is due to the code, why does it work
> on another developer computer, with the exact same code ?
> And why would it work for one tester out of 3 ?
>
> I can't explain that, and as far as I can't explain that, I will not
> likely consider it is due to the code.
> Actually, I have absolutely no clue, but I would love to !
>
> On 12 juin, 18:27, mhofmann  wrote:
>
> > Some of my clients have actually seen this, too:
> > Javascript Error: 'document.body' is null or not an object
>
> > The error line refers to the line "document.body.appendChild( div );"
> > in jquery.js.
>
> > It has definitely happened for people on IE6, and I believe for people
> > on IE7 as well... however, it is very sporadic (I've only seen it
> > happen a handful of times).  Maybe it is a race condition, depending
> > on how/where you include the jquery script, and how you are
> > initializing the page body?
>
> > On Jun 12, 4:21 am, Lideln  wrote:
>
> > > Up :)
>
> > > On Jun 10, 6:40 pm, Lideln  wrote:
>
> > > > Up !
>
> > > > I really need some help... Am I the only one experiencing such a
> > > > problem ?
> > > > I can't use IE6 for now... It's really paralyzing me because I work in
> > > > a professional environment.
>
> > > > Thank you all for your help !
>
> > > > On Jun 8, 12:18 pm, Lideln  wrote:
>
> > > > > Hi,
>
> > > > > Thank you for that long answer !
>
> > > > > The problem is that on my computer and that of my colleague where it
> > > > > bugs, we are automatically redirected to the login page. So it'll be
> > > > > hard to compare the two versions of HTML.
>
> > > > > I also tried to deactivate debugging in IE6 (the two checkboxes in the
> > > > > options), but nothing new...
>
> > > > > We are two developers, dev_A (me) and dev_B (the one who tests only
> > > > > with IE7, and where everything works), we have the same SVN up to date
> > > > > code.
> > > > > There are 2 colleagues who will test the issue : test_C and test_D.
>
> > > > > If it comes from an IE6 configuration error, why does it work for
> > > > > test_C when he points to the dev_B machine, and not when it points to
> > > > > the dev_A (my) machine ?
>
> > > > > If it comes from an apache configuration error, why does it work for
> > > > > test_D when he points to the dev_A (my) machine ?
>
> > > > > It's really disappointing... I decided ealier (as you advise me now)
> > > > > to move on, because I can't find a way to correct it, and as it seems
> > > > > to work for everyone when pointing to the dev_B machine, and because
> > > > > it only bugs on my machine, only sometimes, and only with IE6.
>
> > > > > On Jun 8, 11:45 am, kranthi  wrote:
>
> > > > > > there is one more thing which i forgot to mention earlier...
>
> > > > > > if i encounter an IE specific error the first thing i do is disable
> > > > > > all debugging addons in IE, restore all the advanced options to
> > > > > > default.
>
> > > > > > open the source code in IE of your colleague(on whose computer it is
> > > > > > working fine).
> > > > > > open the source code in IE of your computer.
> > > > > > compare that line by line (use tortoise merge or kdiff)
>
> > > > > > if they dont match... probably u'll be able to find the error.
> > > > > > if they do match .. that is a configuration prob in your IE(if this 
> > > > > > is
> > > > > > the case i recommend you to forget the error and move on)
>
> > > > > > and finally ..
> > > > > > as far as i know both web developer console and firebug console show
> > > > > > the same (javascript) errors as that of inbuilt firefox console. 
> > > > > > they
> > > > > > only differ when ter is a page refresh. firebug console does not
> > > > > > "remember" javascript errors of previous pages opened in that 
> > > > > > browser.
> > > > > > while web developer console shows "all" javascript errors occoured
> > > > > > till then.


[jQuery] Re: Superfish help - rebuilding a page because of LiveBooks framework

2009-06-15 Thread marioATsmithphoto.com

Many Many thanks to Charlie for not only helping me to make this work,
but for making it work as efficiently as possible with coding that is
streamlined and not full of useless and unnecessary code. He
implemented a very clean Superfish script in a VERY short time and his
services are offered at VERY reasonable prices. I will contract
Charlie's services again in the future and highly recommend that
anyone else in need of an expert just get in touch with him and worry
not about your project.

Thank you Charlie!

Charlie

GET NOTICED Internet Solutions
(614) 202-5150

www.getnoticedinternet.com

On Jun 8, 3:38 pm, "marioATsmithphoto.com" 
wrote:
> Hello,
>
> Our web site is built on the LiveBooks framework which is basically
> Flash-based. Due to their framework not being able to display a Flash
> slideshow that I'm still completing within their Flash shell without
> doing a lot of odd things to the Flash file, I'm having to re-create
> the look of our site in HTML for the purpose of correctly displaying
> this particular page. Basically, I have an HTML page that has the SWF
> embedded but I also need to recreate the pull-down menu that is in
> place on the other pages via Flash.
>
> Go to smithphoto-dot-com and after the page loads the intro, select
> one of the olives other than the one labeled "studio". On any of these
> other pages, roll over "folios" and you'll see the Flash-based pull-
> down menu that I want to re-create. Selecting "studio" from any of
> these pages will navigate to the HTML version of the studio page where
> I need to insert the Superfish menu. I've attempted this at inet-
> daDOTnet/rsp/studio.html
>
> I've got all the links in place (but they won't work until the
> LiveBooks team does something with our landing page config which is
> pending). The problems are:
>
> Font size
> Font style
> Position
> Ability to incorporate olive into the head item, "folios".
>
> I basically want to mimic what they did in Flash. Is this possible
> using Superfish?
>
> If anyone can assist me with this I would be highly appreciative and
> we can discuss compensation for your help. The HTML code can be lifted
> from the example of what I've tried assembling at inet-daDOTnet/rsp/
> studio.html and I can also email the CSS that I've modified. Feel free
> to contact me at marioATsmithphoto.com
>
> Thank you in advance!
> Mario


[jQuery] AJAX Tab with Struts2 and SiteMesh

2009-06-15 Thread SteveM

This may be a post for the struts list, but I'll start her.  I'm using
Jquery with Struts2 and SiteMesh.  My tabs work fine with all my code
on a single JSP.  I tried switching to AJAX, but that breaks the OGNL
reference to a list on the second TAB.  I set-up a separate namespace
in Struts so that I could exclude the pages from SiteMesh.  My tabs
looked like this:












General Information
Streets
Properties



Code from the first tab works fine, but the AJAX load of the following
code produces "No Neighborhoods Streets to show." Tab order has no
effect. As I said, if I paste the code below into a tab div tag using
the non-AJAX style, then everything works fine and the list is
displayed.  Has anyone else run into this problem?

<%@ page language="java" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/pages/include/taglibs.jspf" %>

  
 
Direction
Name
Qualifier

  





   






No Neighborhoods Streets to
show.
  


Steve Mitchell
http://www.ByteworksInc.com


[jQuery] Re: What's happening to my posts?

2009-06-15 Thread brian

Aside from a delay due to moderation, there's also the fact that gmail
seems not to display one's own messages to google groups. I've only
ever seen mine once someone else has replied to it.

On Mon, Jun 15, 2009 at 4:03 AM, Veeru wrote:
>
> Hi there,
> Am just worried, i have posted a few questions on this group and they
> seem to be missing, i cant' find or traceback to my posts, it happened
> before as well. Is there a validation queue or something?
>
> Thanks
> Vru


[jQuery] Re: Is it possible to add jquery effect on jquery created dom??

2009-06-15 Thread waseem sabjee
one very important thing to note is that .live() is not friendly with IE
however through about an hour of trial and error i found a solution to
replicate the .live()

basically what i did is i embedded my click event within the AJAX success
without using live()
works like a charm

/* == Get Events For Today === */ 66 $.ajax({ // FF - IE - CHROME -
SAFARI
67 type: "POST", // use method POST
68 url: "mypath/getEventsForToday", // path to web service
69 data: "{'key': 'key'}", // data to post
70 contentType: "application/json; charset=utf-8", // content type
71 dataType: "json", // data type
72 success: function(data) { // on success
73 $(".ajaxone").html("");
74 $(".ajaxone").append(data.d); // add data to target
75 $(".ajaxone a").click(function(e) { // FF - CHROME - SAFARI
76 e.preventDefault();
77 $(".boxcontent").html("");
78 $('html, body').animate({ scrollTop: 0 }, 'fast'); // scroll page to top
79 $(".overlay").show(0);
80 $(".overlay").animate({ opacity: 0 }, 0);
81 $(".overlay").animate({ opacity: 0.3 }, 500);
82 $(".box").show(0);
83 $(".box").animate({ opacity: 0 }, 0);
84 $(".box").animate({ opacity: 1 }, 500);
85 $(".boxcontrol").show(0);
86 $(".boxcontrol").animate({ opacity: 0 }, 0);
87 $(".boxcontrol").animate({ opacity: 1 }, 500);
88 $("body").addClass("ovfhide");
89 $.ajax({
90 type: "POST", // use method POST
91 url: "mypath/getEventByID",
92 data: "{'key': '" + $(this).attr("id") + "'}",
93 contentType: "application/json; charset=utf-8",
94 dataType: "json",
95 success: function(data) {
96 var thtml = data.d;
97 $(".boxcontent").html(thtml);
98 $(".loading").remove();
99 },
100 error: function() {
101
102 }
103 });
104 });
105 },
106 error: function() { // on failure
107
108 }
109 });


On Mon, Jun 15, 2009 at 6:42 AM, John Bill  wrote:

> i think that very easy to use json that get message from service.
>
> 2009/6/15 polygontseng 
>
>>
>> We want to make a ajax post to remote usr on an jquery created dom(an
>> appended input). but it's not work.
>>
>> Thanks.
>>
>
>


[jQuery] Re: Read values from another pages

2009-06-15 Thread brian

You can't. Posting data back to the server means sending it to a
server script, not an html page (which is evaluated at the client).
You'll need to post your data to, eg. a PHP script which, in turn,
outputs the contents of that 2nd html page.

On Mon, Jun 15, 2009 at 4:04 AM, ciupaz wrote:
>
> Hi all,
> using this plugin:
>
> http://docs.jquery.com/Ajax/jQuery.post
>
> how can I read the values from the other page?
>
> For example, using: $.post("test.htm", { name: "John", time:
> "2pm" } );
>
> in the page test.htm how can I read these value and setting some
> label?
>
> Thanks in advance.
>
> Luis


[jQuery] Re: JQuery Cycle Plugin Problems with IE7

2009-06-15 Thread rjonker

I am having the exact same issue.
On firefox and safari the cycle woks fine.
In ie7 the images are displayed beneath each other.

I hope someone will reply :)

Cheers, Robert

On 8 jun, 14:00, buschii  wrote:
> Hi folks,
>
> I am new here and I seached vor problems with IE7 and JQuery Cycle
> Plugin but haven't found anything helpful for me.
>
> My problem: I almost copied the demo skript 
> fromhttp://malsup.com/jquery/cycle/
> and changed it to my local folders using Dreamweaver (not laughing, I
> am not a professional programmer).
> In Dreamweaver live-view it works perfekt. So it does in Mozilla and
> Opera. But not in IE.
> There I can just see my 3 test-pictures beneath each other but no
> funktionality.
>
> Has anyone an idea?
>
> Karsten
>
> P.S. my code:
>
>  /*latest
> version*/
>  /
> *I also tried jquery.cycle.all.js*/
> 
>
> $(function() {
> $('#slideshow1').cycle({
>     timeout:       4000,  // milliseconds between slide transitions (0
> to disable auto advance)
>     speed:         1000,  // speed of the transition (any valid fx
> speed value)
>     next:          null,  // id of element to use as click trigger for
> next slide
>     prev:          null,  // id of element to use as click trigger for
> previous slide
>     before:        null,  // transition callback (scope set to element
> to be shown)
>     after:         null,  // transition callback (scope set to element
> that was shown)
>     height:       'auto', // container height
>     sync:          1,     // true if in/out transitions should occur
> simultaneously
>     fit:           0,     // force slides to fit container
>     pause:         0,     // true to enable "pause on hover"
>     delay:         0,     // additional delay (in ms) for first
> transition (hint: can be negative)
>     slideExpr:     null,  // expression for selecting slides (if
> something other than all children is required)});
> });
>
> 
>
> 
> .pics {
>     height:  232px;
>     width:   232px;
>     padding: 0;
>     margin:  0;}
>
> .pics img {
>     padding: 15px;
>     border:  1px solid #ccc;
>     background-color: #eee;
>     width:  200px;
>     height: 200px;
>     top:  0;
>     left: 0
>
> }
>
> 
> 
> 
>
> 
>     
>     
>     
> 
>
> 


[jQuery] Re: JQuery Cycle Plugin Problems with IE7

2009-06-15 Thread Mike Alsup

slideExpr: null,

Trailing commas in arrays cause JavaScript errors in IE.  Please
enable debugging in your browser so that you can see these errors
reported on the status bar.


On Jun 8, 8:00 am, buschii  wrote:
> Hi folks,
>
> I am new here and I seached vor problems with IE7 and JQuery Cycle
> Plugin but haven't found anything helpful for me.
>
> My problem: I almost copied the demo skript 
> fromhttp://malsup.com/jquery/cycle/
> and changed it to my local folders using Dreamweaver (not laughing, I
> am not a professional programmer).
> In Dreamweaver live-view it works perfekt. So it does in Mozilla and
> Opera. But not in IE.
> There I can just see my 3 test-pictures beneath each other but no
> funktionality.
>
> Has anyone an idea?
>
> Karsten
>
> P.S. my code:
>
>  /*latest
> version*/
>  /
> *I also tried jquery.cycle.all.js*/
> 
>
> $(function() {
> $('#slideshow1').cycle({
>     timeout:       4000,  // milliseconds between slide transitions (0
> to disable auto advance)
>     speed:         1000,  // speed of the transition (any valid fx
> speed value)
>     next:          null,  // id of element to use as click trigger for
> next slide
>     prev:          null,  // id of element to use as click trigger for
> previous slide
>     before:        null,  // transition callback (scope set to element
> to be shown)
>     after:         null,  // transition callback (scope set to element
> that was shown)
>     height:       'auto', // container height
>     sync:          1,     // true if in/out transitions should occur
> simultaneously
>     fit:           0,     // force slides to fit container
>     pause:         0,     // true to enable "pause on hover"
>     delay:         0,     // additional delay (in ms) for first
> transition (hint: can be negative)
>     slideExpr:     null,  // expression for selecting slides (if
> something other than all children is required)});
> });
>
> 
>
> 
> .pics {
>     height:  232px;
>     width:   232px;
>     padding: 0;
>     margin:  0;}
>
> .pics img {
>     padding: 15px;
>     border:  1px solid #ccc;
>     background-color: #eee;
>     width:  200px;
>     height: 200px;
>     top:  0;
>     left: 0
>
> }
>
> 
> 
> 
>
> 
>     
>     
>     
> 
>
> 


[jQuery] javascript error[Invalid range in character set] while loading thickbox

2009-06-15 Thread husam

hello,

I am getting a javascript error [Invalid range in character set] while
loading a thickbox. i am using jquery version 1.3.2.

please find below file names which are being used.

jquery-1.3.2.js
thickbox.js
thickbox.css

i am unable to address this error from which file and line i am
getting this error.

seek your help to solve this issue.

Thanks in advance



[jQuery] Re: Issue with Cycle Plugin

2009-06-15 Thread Mike Alsup

Try adding the style "overflow:hidden" to your slideshow container.



On Jun 14, 9:02 pm, vintom  wrote:
> I am not great with jquery (yet), but I have used a few plugins with
> me newest site. I am using the cycle plugin and it works great, but I
> am having one issue. When I load the page initially (http://vintom.com/
> gfc) it stacks the images on top of each other until the plugin kicks
> in (which is only about 2 seconds).
>
> Is there any way to get around this? I would like to just have the
> first image in the cycle show up, and not have it affect the rest of
> the site layout.
>
> Any help would be great:
>
> With problem:
>
> http://vintom.com/jing/gfc-before.png"; alt="" />
>
> Without problem:
>
> http://vintom.com/jing/gfc-after.png"; alt="" />


[jQuery] Re: jquery and comet

2009-06-15 Thread Javier Martínez Fernández
Sorry for the delay on response.
At last I have used a Jetty server with support with native comet. In the
package there is already a js library to use with jquery.
We have this configuration for about 4 months and we are very happy with it.

Hope it helps. If you have some question about how to configure it, let me
know.


El 15 de junio de 2009 1:20, morgar  escribió:

> Hi Javier. I am in the same boat, did you find a good solution for
> this?
>
> Thanks
>
> On Dec 1 2008, 8:26 am, Javier Martínez  wrote:
> > Hi all!
> >
> > On my latest project I have to add a chat to a web. To do this, I'm
> > thinking oncomet. I see there are some ways of doing this. One of them
> > is to make continuousajaxcalls to the server. But this is not
> reallycomet. So, the question is... Has anybody some information about a
> > plugin that does reallycomet? I have tried with this
> > "http://plugins.jquery.com/project/Comet";, but it lacks documentation
> > and can't get it to work!
> >
> > Thanks.


[jQuery] Re: Issue with Cycle Plugin

2009-06-15 Thread Michael Smith

I don't entirely understand the problem but perhaps you could add
display:none to the second image.  This should prevent it showing up
before jquery cycle tells it to.

Michael

On Mon, Jun 15, 2009 at 2:02 AM, vintom wrote:
>
> I am not great with jquery (yet), but I have used a few plugins with
> me newest site. I am using the cycle plugin and it works great, but I
> am having one issue. When I load the page initially (http://vintom.com/
> gfc) it stacks the images on top of each other until the plugin kicks
> in (which is only about 2 seconds).
>
> Is there any way to get around this? I would like to just have the
> first image in the cycle show up, and not have it affect the rest of
> the site layout.
>
> Any help would be great:
>
> With problem:
>
> http://vintom.com/jing/gfc-before.png"; alt="" />
>
> Without problem:
>
> http://vintom.com/jing/gfc-after.png"; alt="" />
>


[jQuery] Re: Outline html elements on hover and click

2009-06-15 Thread Karl Swedberg

Hi Dave,

This should get you started:

   
   $(function(){
  $( "#divCodeArea" )
  .mouseover(function(event) {
$(event.target).addClass('outlineElement');
  })
  .mouseout(function(event) {
$(event.target).removeClass('outlineElement');
  })
  .click(function(event) {
$(event.target).toggleClass('outlineElementClicked');
  });
   });
   
   
   #divCodeArea
   {
   border: solid 2px gold;
   padding: 10px;
   }
   .outlineElementClicked,
   .outlineElement
   {
   outline: 1px solid red;
   }
   

Note, I changed border to outline so it wouldn't mess with the  
elements' dimensions.


--Karl


Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Jun 15, 2009, at 7:36 AM, Dave wrote:



Hi

Am a jquery novice and are trying to make code that adds a hover event
to all html elements within a certain container. On hover the element
should be outlined by adding/removiing a css class. Thats the first
thing and I can't get that to work with the code below.
The second part is to keep the element outlined when its clicked, and
also when selecting multiple elements by (ctrl+click).

Have searched for a outline plugin, but came up with nothing.

"http://

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

   
   
   
   $(function(){
   $( "#divCodeArea" ).each(function()
   {
   $(this).hover
   (
   function()
   {
   $(this).addClass("outlineElement");
   },
   function()
   {
   $(this).removeClass("outlineElement");
   }
   );
   }
   );
   });
   
   
   #divCodeArea
   {
   border: solid 2px gold;
   padding: 10px;
   }
   .outlineElement
   {
   border: solid 1px red;
   }
   


   
   
   1
   
   2
   
   333  5 66
   777
   
   
   
   CCXX
   
   
   
   
   





/Cheers




[jQuery] Re: tablesorter plugin leaks memory in IE6 and IE7

2009-06-15 Thread MorningZ

I wouldn't be so quick to point fingers @ the plugin

There's lots of people on this list using it, with tables larger than
your 10x200, without any talk of memory leaks of 2 megs on a page
refresh...

I'd start super simple (static HTML, tablesorter applied with all
default options) and the add your code on top of that to figure out
where/why the leak is happening.


On Jun 15, 7:24 am, pob  wrote:
> Hi there,
> I have a table, 10 cols, 200 rows. Using tablesorter causes a memory
> leak on every page refresh of almost 2mB.
> A smaller table causes a proportionately smaller memory leak.
> Is there way to clear this memory? I've tried setting inner html of
> the table to '', but it makes no difference. Is there even a universal
> method i can call to remove any trace of any jquery plugin I have on
> the page?
> Any ideas would be great, I love this plugin and don't want to have to
> use a different one instead.
>
> - Pierce


[jQuery] Re: [validate] how to get ajax error messages from server till it is implemented in remote method

2009-06-15 Thread david

Wow, Cool

Thank you very much

On Jun 15, 3:32 pm, Jörn Zaefferer 
wrote:
> Actually this will be implemented in the next release, due out very
> soon (hopefully today). Stay tuned for the update on bassistance.de
>
> You can also get the code now from 
> SVN:http://jqueryjs.googlecode.com/svn/trunk/plugins/validate/
>
> Jörn
>
> On Mon, Jun 15, 2009 at 11:49 AM, david wrote:
>
> > Dear all,
>
> > I wanted to ask how it is possible to get error messages from the
> > server till it is implemented in the remote method.
> > What do you think is the less work intensive  alternative.
> > I also wanted to ask if i have two fields A and B, and the values of B
> > depends on A. How do i make it with the plugin and the remote method ?
> > I saw that there is a way of writing custom methods:
> >http://groups.google.com/group/jquery-en/browse_thread/thread/e2eb521...[validate]+2+fields#622654c57434966a
> > But how do i combine it with the ajax calls?
>
> > Thanks,
> > David


[jQuery] Re: [validate] how to get ajax error messages from server till it is implemented in remote method

2009-06-15 Thread Jörn Zaefferer

Actually this will be implemented in the next release, due out very
soon (hopefully today). Stay tuned for the update on bassistance.de

You can also get the code now from SVN:
http://jqueryjs.googlecode.com/svn/trunk/plugins/validate/

Jörn

On Mon, Jun 15, 2009 at 11:49 AM, david wrote:
>
> Dear all,
>
> I wanted to ask how it is possible to get error messages from the
> server till it is implemented in the remote method.
> What do you think is the less work intensive  alternative.
> I also wanted to ask if i have two fields A and B, and the values of B
> depends on A. How do i make it with the plugin and the remote method ?
> I saw that there is a way of writing custom methods:
> http://groups.google.com/group/jquery-en/browse_thread/thread/e2eb52101bd1fc24/622654c57434966a?lnk=gst&q=[validate]+2+fields#622654c57434966a
> But how do i combine it with the ajax calls?
>
>
> Thanks,
> David


[jQuery] Re: Autocomplete - Holding down key

2009-06-15 Thread Jörn Zaefferer

Ok, first sorry for my previous message. I somehow go the idea that
you implemented your own autocomplete plugin.

So, testing on FF3 on Windows, holding the down cursor works fine, the
selection continues to scroll. I don't have access to a Mac, so I
can't test that currently. You could try to edit the bind("...") line
to use "keypress" instead of keyup, and see if that changes anything.
Or look for known issues with those events on Mac.

The second issue is located on your serverside script. It returns
wrong values, and plugin just outputs them.

Jörn

On Mon, Jun 15, 2009 at 12:23 PM, Rune wrote:
>
> Ok thanks.
>
> Here's how I initialize it:
>
> 

[jQuery] Re: How do I (client side) programatically set jQuery rating

2009-06-15 Thread Sekhar

found it:

$(".star").rating('select', value);

On Jun 14, 10:58 pm, Sekhar  wrote:
> I can't seem to figure out how to set the star rating value at client
> run time. Can you please reply with a sample?
>
> Thanks.
>
> Sekhar.


[jQuery] Re: jquery.validate - differentFrom() ? Opposite of EqualTo.

2009-06-15 Thread Jörn Zaefferer

Have you tried writing a custom method?
http://docs.jquery.com/Plugins/Validation/Validator/addMethod

Jörn

On Mon, Jun 15, 2009 at 12:25 PM, Tor I.
Pettersen wrote:
>
> Hi,
>
> I could use a hand with jquery validate. ( 
> http://docs.jquery.com/Plugins/Validation
> )
>
> I have 3 dropdowns, containing the same selections, and I need to make
> sure no selections are the same as either of the other two. (Primary,
> secondary and tertiary contact - obviously can't be the same person).
>
> There is EqualTo, which doesn't really solve my problem. Any good
> ideas?
>
> Thanks for reading, and thanks in advance for any help.
>
>


[jQuery] Re: jQGrid Ajax search parameters- Top toolbar method

2009-06-15 Thread Tony

Hello,
In this case the posted values are pairs name:value.
The reason for this is that in this case we can have more than one
value to be searchble.
Regards
Tony

On May 28, 8:58 pm, Charlie  wrote:
> usingjQGRidversion 3.4.4
> I havejQGridworking great with several thousand records, bottom toolbar 
> search, add , delete etc are working fine in all columns. I installed the  
> top toolbar search bar using .filtergrid and it is sending  ajax only when I 
> hit enter key, not autocomplete  style as in  examples.  The post isn't 
> sending   "searchField", "searchOper" or  "searchString" the way it does with 
> navgrid search methodfiltergrid is using the default options set in 
> grid.custom.js as well as {gridModel:true,gridToolbar:true} exactly the same 
> as demo.
> Anyone have any experience with this method?


[jQuery] Re: jqGrid: jQuery("#list").jqGrid is not a function

2009-06-15 Thread Tony

Hello,
As I see all work ok.What actually does not work?
Regards
Tony

On Jun 14, 9:02 am, efet  wrote:
> I did not make any changes with directories or codes. I thought I must
> be missing an include but I have been looking into my codes for hours
> already but still cant find what causes the error. Please advise!
>
> http://refinethetaste.com/html/cp/orders.asp


[jQuery] New Plugin: Numeric formating to multiple international styles

2009-06-15 Thread obiwanknothe

Hello all!

I've created a plugin that automatically formats numeric values as you
type. It supports multiple International styles and has some
flexibility on setting min max levels. The plugin is still in early
development (ALPHA) and it needs testing & modifications.

You can find the plugin demo here: http://www.decorplanit.com/plugin/

I would appreciate feedback, contributions (especially), and testers,
so if anyone is interested please post your comments.

I have made a lot of comments within the source file in the hope that
my twisted logic makes sense.

Thanks in advance.


[jQuery] jquery.validate - differentFrom() ? Opposite of EqualTo.

2009-06-15 Thread Tor I. Pettersen

Hi,

I could use a hand with jquery validate. ( 
http://docs.jquery.com/Plugins/Validation
)

I have 3 dropdowns, containing the same selections, and I need to make
sure no selections are the same as either of the other two. (Primary,
secondary and tertiary contact - obviously can't be the same person).

There is EqualTo, which doesn't really solve my problem. Any good
ideas?

Thanks for reading, and thanks in advance for any help.



[jQuery] tablesorter plugin leaks memory in IE6 and IE7

2009-06-15 Thread pob

Hi there,
I have a table, 10 cols, 200 rows. Using tablesorter causes a memory
leak on every page refresh of almost 2mB.
A smaller table causes a proportionately smaller memory leak.
Is there way to clear this memory? I've tried setting inner html of
the table to '', but it makes no difference. Is there even a universal
method i can call to remove any trace of any jquery plugin I have on
the page?
Any ideas would be great, I love this plugin and don't want to have to
use a different one instead.

- Pierce


[jQuery] Event handling

2009-06-15 Thread asrij...@googlemail.com

Hi Guys,

I'm using two plugins which are triggered by a submit event
(jquery.validate and jquery.comboselect) and now I'm facing one issue:

If any validation error occurs my error msg is printed and my form
isn't submitted (correct behaviour) but the comboselect plugin
triggers at submit too and after the valdidation error it seems like
any other submit event is removed by the validation.plugin. Is there
any possibility to view all events that are set to an object?

Did someone else faced anything like this before?

Any help is appreciated :)


[jQuery] Re: Tell me , Select option value

2009-06-15 Thread david

For alert : you must define on which event and then use the bind
function:
http://docs.jquery.com/Events/bind#examples

On Jun 15, 2:33 pm, david  wrote:
> You mean the value of the radio button.
> please take a look 
> athttp://snipplr.com/view/3372/radio-button-values-using-jquery/
>
> On Jun 15, 2:17 pm, bharani kumar 
> wrote:
>
> > Hi all ,
>
> > Am little bit confusion in radio selection ,
>
> > My doubt is very simple ,
>
> > Having two radio button ,
>
> > alert which ratio option i selected for example Male and female
>
> > Thanks


[jQuery] Re: Tell me , Select option value

2009-06-15 Thread david

You mean the value of the radio button.
please take a look at
http://snipplr.com/view/3372/radio-button-values-using-jquery/

On Jun 15, 2:17 pm, bharani kumar 
wrote:
> Hi all ,
>
> Am little bit confusion in radio selection ,
>
> My doubt is very simple ,
>
> Having two radio button ,
>
> alert which ratio option i selected for example Male and female
>
> Thanks


[jQuery] Re: Enable Submit button

2009-06-15 Thread Charlie





this does not mean click both at same time, it is standard method of
applying function to more than one selector and applies to *any*
selector individually

look at examples

http://docs.jquery.com/Selectors/multiple#selector1selector2selectorN

bharani kumar wrote:
Assume if we give condition like this ,$("#yesBut,
#condBut").click(function(){});
  
Then it assumes like when ever two elements are clicked at same time
know ,
  
So i this one is Error on ,
  
Even i tried but am not get anything ,
  
You tried this snippet 
  
  
  On Mon, Jun 15, 2009 at 12:50 PM, Steven
Yang 
wrote:
  


  maybe try something like this



$("#yesBut, #condBut").click(function(){
   if($("#yesBut").is(":checked") &&
$("condBut").is(":checked")) {
     $("#SubmitCard").removeAttr("disabled");
  }
  else {
    
$("#SubmitCard").attr("disabled", "disabled");
  }
})


i am not too sure of my syntax and stuff, but hopefully you
get the idea


and hopefully someone come up with a better solution than mine


  
  
  
  
  
-- 
Regards
B.S.Bharanikumar
  http://php-mysql-jquery.blogspot.com/






[jQuery] Tell me , Select option value

2009-06-15 Thread bharani kumar
Hi all ,

Am little bit confusion in radio selection ,

My doubt is very simple ,

Having two radio button ,

alert which ratio option i selected for example Male and female


Thanks


[jQuery] Re: RSS Manager - Dynamic variables

2009-06-15 Thread Felipe

nobody?

On 14 jun, 13:52, Felipe  wrote:
> Hey guys.
>
> I'm building up a RSS reader.
>
> In this app, the user will have the option to add and remove urls in a
> list.
>
> What I need is to create a new variable, everytime the user submit the
> form with the url.
>
> The varible must contain the url.
>
> Can anybody help me?
>
> Thanks for your time.


[jQuery] Re: Autocomplete - Holding down key

2009-06-15 Thread Rune

Ok thanks.

Here's how I initialize it:


[jQuery] photos not displaying in Firefox

2009-06-15 Thread wildbug

Hi all,
I bought a WordPress theme that uses a jQuery slider gallery.
Unfortunately, only the last of four images is showing up in the
gallery (see: http://mcssafehomes.com/?p=105) and the previous/next
links do not work. In most cases, I don't have 4 images input, usually
three or less. So the default "Coming Soon" image is appearing. (see:
http://mcssafehomes.com/?p=285) I am using a Firefox browser on a Mac
iBook. I know the images are in there, as they flash on the screen for
an instant before the 4th image loads.

My web host has confirmed that the GD library is enabled and I have
"write" permissions to the img_resize cache file. He also said that he
can view the slide gallery on my website fine in IE. But not with
Firefox. So it seemed that the issue might be Firefox...but, the
developer's website has a demo of this theme (http://
wp.contempographicdesign.com/wp_real_estate/?p=3) and I can view the
slider fine there. It's not a host issue because they can see the
slider fine in IE... Must be coding, right?

I'm not a developer but I've picked up some HTML, CSS, and PHP. Anyone
have any ideas on what could be going wrong here? I would appreciate
any help figuring this out. The developer says it's my 3rd party menu
messing the code up, but the problem existed before I installed that
script, and it remains if I remove the script...

Thanks for any help you can give!


[jQuery] [validate] how to get ajax error messages from server till it is implemented in remote method

2009-06-15 Thread david

Dear all,

I wanted to ask how it is possible to get error messages from the
server till it is implemented in the remote method.
What do you think is the less work intensive  alternative.
I also wanted to ask if i have two fields A and B, and the values of B
depends on A. How do i make it with the plugin and the remote method ?
I saw that there is a way of writing custom methods:
http://groups.google.com/group/jquery-en/browse_thread/thread/e2eb52101bd1fc24/622654c57434966a?lnk=gst&q=[validate]+2+fields#622654c57434966a
But how do i combine it with the ajax calls?


Thanks,
David


[jQuery] Re: What's happening to my posts?

2009-06-15 Thread david

This also happened to me.
If i want to post questions about the jquery.validate plugin, which
mailing list i have to contact ?
I read the > http://docs.jquery.com/Discussion#Contacting_a_Mailing_List
document.
The last posting of  the jQuery Plugins group is from the 22.02 so it
is not frequent read.
What do you suggest ?

Thanks,
David


On Jun 15, 12:07 pm, "Richard D. Worth"  wrote:
> See
>
> http://docs.jquery.com/Discussion#Contacting_a_Mailing_List
>
> "
> Please note that this list is moderated (due to spam). Your first messages
> may take a few hours to get through, but future messages will show up
> instantly once you are out of the new-member-is-moderated policy.
> "
>
> - Richard
>
> On Mon, Jun 15, 2009 at 4:03 AM, Veeru  wrote:
>
> > Hi there,
> > Am just worried, i have posted a few questions on this group and they
> > seem to be missing, i cant' find or traceback to my posts, it happened
> > before as well. Is there a validation queue or something?
>
> > Thanks
> > Vru


[jQuery] Re: What's happening to my posts?

2009-06-15 Thread Richard D. Worth
See

http://docs.jquery.com/Discussion#Contacting_a_Mailing_List

"
Please note that this list is moderated (due to spam). Your first messages
may take a few hours to get through, but future messages will show up
instantly once you are out of the new-member-is-moderated policy.
"

- Richard

On Mon, Jun 15, 2009 at 4:03 AM, Veeru  wrote:

>
> Hi there,
> Am just worried, i have posted a few questions on this group and they
> seem to be missing, i cant' find or traceback to my posts, it happened
> before as well. Is there a validation queue or something?
>
> Thanks
> Vru


[jQuery] Managing plugin version updates/uploads

2009-06-15 Thread toddb

I have been writing a jQuery plugin generator to scaffold a plugin and
have released this a gem for rubyists (gem install jqueryplugingen).

I now want to be able to manage the release of the plugin via rake
tasks (ie like ruby gems - eg Hoe). I have searched this list and
googled looking for an API to plugins.jquery.com. I must have missed
something because it appears that everyone publishes manually.

Can someone help me out with an API for publishing? I am happy to
writing a ruby binding.

eg:

jqp.new('jquery.plugin') do |p|
  p.developer('toddb', 't...@...')
  p.changes= p.paragraphs_of("History.txt",
0..1).join("\n\n")
  p.jqueryplugin_name   = 'jqueryplugingen'
  p.description= "Generate the structure of jquery
plugins easily. "
end

so, then

rake release VERSION=0.1.0

I, of course, humbly apologise if this is a dumb re-posting or simply
dumb

--tb


[jQuery] Re: Enable Submit button

2009-06-15 Thread veeru

$("#SubmitCard").removeAttr('disabled')

this you can write to the event listener of both checkbox and the
button. Check for satisfying conditions in both.

HTH
Veera

You can write an event listener to both checkbox and the YES button

On Jun 15, 11:06 am, bharani kumar 
wrote:
> hi all ,
> am waiting for the good reply for my thread,
>
> This is one of very urgent snippet ,
>
> Thanks
>
> On Sun, Jun 14, 2009 at 11:15 PM, bharani kumar <
>
>
>
>
>
> bharanikumariyer...@gmail.com> wrote:
> > Hi All ,
>
> > This is my form ,When user click the *YES and checked the check *box then
> > only i want to enable the Prepay by Card button ,
>
> > For this situation , what is the jquery snippet ,
>
> > i have tried somthing like
>
> > $("#SubmitCard").attr("disabled", "disabled");
>
> > But the thing is , i want to put the AND CONDITION match , For this
> > situation , i dont know how to write the jquery snippet
>
> > Pay by Card *Yes* No   Address1 Address2  City Country
> >    Please check the box to accept terms & 
> > conditions.
>
> > --
> >  * Pay Later * * Buy It Now *   £ * 126.00
> >  *    £ * 121.00
> >  *
>
> > Copyright © 2009 ATN
>
> --
> Regards
> B.S.Bharanikumarhttp://php-mysql-jquery.blogspot.com/


[jQuery] How do I (client side) programatically set jQuery rating

2009-06-15 Thread Sekhar

I can't seem to figure out how to set the star rating value at client
run time. Can you please reply with a sample?

Thanks.

Sekhar.


[jQuery] Re: Is it possible to add jquery effect on jquery created dom??

2009-06-15 Thread John Bill
i think that very easy to use json that get message from service.

2009/6/15 polygontseng 

>
> We want to make a ajax post to remote usr on an jquery created dom(an
> appended input). but it's not work.
>
> Thanks.
>


[jQuery] Re: Enable Submit button

2009-06-15 Thread bharani kumar
Assume if we give condition like this ,*$("#yesBut,
#condBut").click(function(){});*

Then it assumes like when ever two elements are clicked at same time know ,

So i this one is Error on ,

Even i tried but am not get anything ,

You tried this snippet


On Mon, Jun 15, 2009 at 12:50 PM, Steven Yang  wrote:

> maybe try something like this
>>
>
> $("#yesBut, #condBut").click(function(){
>if($("#yesBut").is(":checked") && $("condBut").is(":checked")) {
>  $("#SubmitCard").removeAttr("disabled");
>   }
>   else {
>  $("#SubmitCard").attr("disabled", "disabled");
>   }
> })
>
> i am not too sure of my syntax and stuff, but hopefully you get the idea
>
> and hopefully someone come up with a better solution than mine
>
>


-- 
Regards
B.S.Bharanikumar
http://php-mysql-jquery.blogspot.com/


[jQuery] Read values from another pages

2009-06-15 Thread ciupaz

Hi all,
using this plugin:

http://docs.jquery.com/Ajax/jQuery.post

how can I read the values from the other page?

For example, using: $.post("test.htm", { name: "John", time:
"2pm" } );

in the page test.htm how can I read these value and setting some
label?

Thanks in advance.

Luis


[jQuery] What's happening to my posts?

2009-06-15 Thread Veeru

Hi there,
Am just worried, i have posted a few questions on this group and they
seem to be missing, i cant' find or traceback to my posts, it happened
before as well. Is there a validation queue or something?

Thanks
Vru


[jQuery] Re: Enable Submit button

2009-06-15 Thread Steven Yang
>
> maybe try something like this
>

$("#yesBut, #condBut").click(function(){
   if($("#yesBut").is(":checked") && $("condBut").is(":checked")) {
 $("#SubmitCard").removeAttr("disabled");
  }
  else {
 $("#SubmitCard").attr("disabled", "disabled");
  }
})

i am not too sure of my syntax and stuff, but hopefully you get the idea

and hopefully someone come up with a better solution than mine