alue=2').attr('selected','selected').parent().change
> ();
> $('select#parent').trigger('cascade');
> $('#chained_child [value=3').attr('selected','selected').parent
> ().change();
>
$('select#parent').trigger('cascade');
?
On Nov 9, 5:08 pm, rmachado wrote:
> Hello to all
>
> I using thecascadeplugin in 3 dropdowns and it works fine, but in
> some ocasions I need to pre selected the values because the user is
> editing the previous recorded selections.
>
> I manage to select
ange... The issue is that theCascadeworks well when
> the parent is changed but does not show the child value on an update
> form as the parent in most cases do not need to change... but the
> child is not displayed because the change event is not nor does it
> need to be fired.
>
&
I have two namespaced events bound like so:
$("body").bind("selected.proctor",function(e,data) { /* stuff*/});
$("body").bind("selected.spg",function(e,data) { /* stuff*/});
Then an anchor (inside the body of course) fires the event like so:
$("a").trigger("selected.spg",[somedata]);
But both
You need to include jquery.cascade.ext.js included in the distro
On Jun 5, 10:16 pm, kranthi wrote:
> most possible reason is ui.cascadeis not defined by the time u call
> the above line of code. If ui.cascadeis defined in an external js
> file (sorry i never used this plugin) then the file must
I'd look at the autocomplete plugin here
http://github.com/ReinH/jquery-autocomplete/tree/master
and a decent write up here :
http://www.bigredswitch.com/blog/2008/11/jquery-autocomplete-plugin/
I used this tiny plugin as a kind of prototype when I wrote cascade.
Incidentally, I have a few fixe
sorry for the late reply, but you need to fire cascade manually at the
end of the delegate and you can simplify your options, though I'd
consider using $.data for this kind of thing:
var defaultOpts = {
ajax: {url: ‘otherData.js' },
template: commonTemplate,
match: commonMa
can you show some code that isn't working
On May 16, 6:21 am, jayarjo wrote:
> "New in jQuery 1.3:
>
> All triggered events now bubble up the DOM tree. For example if you
> trigger an event on a paragraph then it will trigger on that element
> first, then on the parent element, and its parent, a
'price' value won't be set until the callback completes, so try this:
unction calc_matrix(x, y)
{
loc = "index.php?module=product";
var price = 0;
$.post(loc,
{
"request":"xmlhttp",
"action":"calc_pricematrix",
"x":x,
this is probably due to the refresh problems in firebug
On May 4, 7:33 am, Olivier Percebois-Garve
wrote:
> Hi
>
> I'm puzzled with this :http://pastebin.me/49fef93928aff
>
> (in firebug click on the jquery object, then expand "0")
>
> Using empty() or remove() on the lis of a ul, it seems that
subscribe (bind) to your form's 'submit' event . show your alert and
return true/false accordingly...false will prevent the form from
submitting.
On Apr 28, 5:59 am, hybris77 wrote:
> i might be tired right now but I cannot seem to figure out
> a good way to show an alert before processing a for
great glad it helped. I'll look at 1.3.2 to modify
On Apr 10, 4:01 pm, Snef wrote:
> Exactly what I also want! :)
>
> Think it needs minor update for 1.3.2 (different way of eval with json
> i think)
>
> Thanx!
>
> PS. Strange this was not included in jQuery itself.
I posted on this and submitted on the ticket tracker to do this but it
seems to have been denied (it was abandoned).
There was a suggestion made to use the dataFilter but that misses the
point since the xhr header doesn't get included as a parameter.
To work around this I have a little patch I add
sorry i replied on your other thread:
@james,
There is not a fixed schema for items in cascade. The json structure
is outside the scope of cascade. For smaller lists I might load some
javascript when the page hits and assign the 'url' as the var I gave
it. For larger lists or more complex objects
#x27;s handling of special characters. I can't
> > > explain why IE breaks while Firefox just displays a strange
> > > character...
>
> > > In any case, the solution to this is beyond me.
>
> > > For now it looks like I'm going to have to run my dat
ce of single quotes within the JSON data
> > > > throw off JQuery? example: If one of the cities is "O'Brien"
>
> > > > I ask because I have now put up a refined page with the two methods
> > > > and I have used a smaller versi
@James
Thinking about what you are doing here with the third dropdown...By
attaching that dropdown to the second you are telling it to be
filtered by the second dropdown's selected value...which is not
selected yet since it just loaded so I would presume you shouldn't
have any data in the third dr
Try this:
success: function() { registerImageForms(id,key,type); }
On Dec 12, 5:13 pm, "Jan Limpens" wrote:
> Hello,
>
> I have the following code:
>
> var registerImageForms = function(id, key, type) {
> var sizes = ['small', 'medium', 'large'];
> $('#panel-images fieldset:visible').re
Try this:
http://plugins.jquery.com/project/constrain
On Nov 30, 12:54 pm, deronsizemore <[EMAIL PROTECTED]> wrote:
> Hi! Thanks for the quick reply. So, with this code added, will it make all
> fields letters only or is there a way for me to specify what field(s) I want
> to allow letters only?
Probably any complaints would only come from users of the WebForms
model, not asp.net MVC or Monorail. The debugging argument just points
to a need for a better testing setup...unit tests maybe?
did you forget to pass data (data:{}) in the ajax call? I have had
that trip me up when doing posts via ajax.
On Nov 14, 10:35 am, George <[EMAIL PROTECTED]> wrote:
> Hi guys/girls,
> I just wanted to post here my problems (and solution) I had been
> struggling with last 2 days.
>
> I was doing J
just ignoring letters for
> > sorting purposes?
>
> > On Nov 11, 2:51 am, Rodent of Unusual Size <[EMAIL PROTECTED]> wrote:
>
> > > On Nov 11, 12:29 am, Mike Nichols <[EMAIL PROTECTED]> wrote:
>
> > > > I submitted a patch a long time ago to do
I submitted a patch a long time ago to do this that implemented a
natural sorting algorithm for this but it would never get applied and
I couldn't get a response..I assumed the project was light or dead.
I can send you the patched .js i had if you like.
On Nov 10, 9:56 pm, Rodent of Unusual Size
Why not take advantage of jquery's event mechanism and do an event
based api, like:
$("#sel").testStatus(opt).bind("statusupdated.testStatus",function()
{
//dostuff
});
then in your plugin:
if (question) {
$.ajax({
type: 'POST',
url: itemHref + defaults.status
Are you using the cascade plugin?
On Oct 15, 1:47 pm, Migue <[EMAIL PROTECTED]> wrote:
> Hi, im trying to use jquery.validate plugin in a form with cascade/
> chained ajax selects.
> Thatcascadeloading was bind to select's Change event. But now i have
> conflicts with jquery.validate, i think it
I needed to be able to specify constraints on text boxes specifically
but simply so I wrote jquery.constrain.js.
This lets you specify patterns (regexs) , limit characters to a
certain quantity,or just prohibit characters on text boxes .
Also includes an numeric extension so you can pass number fo
Sorry I missed this.
I do the same thing ricardo recommended when unable to load the values
from the server on load.
On Sep 18, 12:23 pm, ricardobeat <[EMAIL PROTECTED]> wrote:
> oops, I didn't pay attention.
>
> You need to set the selected attribute and then fire the 'change'
> event on the par
I've had problems with not specifiying the 'data' to be sent to the
server on a post ,ie:
$.post(url,{data:{}});
You might try that and see if it fixes it
On Sep 11, 3:32 pm, Mike Alsup <[EMAIL PROTECTED]> wrote:
> > i am trying to use data i am getting back from $.post but I am not
> > able to
Done...this is at http://dev.jquery.com/ticket/3356#preview
On Sep 9, 6:46 am, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> Could you file a ticket for this?http://dev.jquery.com/newticket
>
> Thanks
> Jörn
>
> On Tue, Sep 9, 2008 at 3:22 PM, Mike Nichols &
If this is in a form:
and the form is validated with:
jQuery("#demo_form").validate({meta:"validate"}); // inside $.ready
Then I get this :
meta is undefined
file:///C:/Development/Assets/test/datetime/jquery.validate.js
Line 507
Which is caused by this:
return meta.messages && meta.messages[m
Hi
I have a text field which is evaluated on its onblur event and
corrected by inserting the default year. So I might enter '0508' and
it will convert to '05/08/2008' onblur.
The validate plugin is evaluating the field's value before my plugin
can change it so it says 'Please enter a valid date',
sweet...i implemented natural sorting in tablesorter but it never got
put in so I am thrilled to see it baked into your implementation...
looks good
mike
On Sep 1, 11:09 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]>
wrote:
> very nice indeed !
>
> 1/ when going to the last page, the table height
jQuery("div#resort_select select",this).cascade("div#country_sel
> select",{
>
> and
>
> jQuery("div#resort_select select",this).cascade(this,"div#country_sel
> select",{
>
> On Aug 19, 7:38 pm, Mike Nichols <[EMAIL PROTECTED]> wrot
what is "div#kurort_select "?
I can't find that in your markup.
On Aug 19, 5:58 am, pervak <[EMAIL PROTECTED]> wrote:
> Hi all!
>
> I've tried to use cascade plugin from Mike Nichols and everything
> goes fine until i need to adjust i
Hi all,
I have had this plugin in use for a while and it is ready for the
wild. This plugin originally was conceived to simply handle the
canonical cascade requirement of select elements filtering other
select element options, but has grown to deal with any similar
behavior requirement .
A demo h
I submitted a patch a long time ago here http://dev.jquery.com/ticket/2890
that allows the response content type to determine how jquery handles
the response (script, html, etc).
This is not being looked at or applied (not sure why) so I was
wondering if there is a way to intercept the response to
I Have an plugin called 'cascade' that does this using templating very
easily here http://plugins.jquery.com/project/cascade or consider the
very lightweight autocomplete here
http://plugins.jquery.com/project/jq-autocomplete
which also uses the templating plugin.
I hopped to this autocomplete fo
lidate
code hasn't accomodated this scenario. Not sure what I'm missing.
On May 26, 3:42 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> Please just update to jQuery 1.2.6.
>
> Jörn
>
> On Mon, May 26, 2008 at 7:59 PM, Mike Nichols <[EMAIL PROTECTED]>
Maybe this could help
http://www.stanlemon.net/projects/jgrowl.html
On May 22, 8:12 pm, zoul0813 <[EMAIL PROTECTED]> wrote:
> darren,
>
> I'll look into adding that functionality -- I just recently got a mac
> again, I wrote the jQuery Growl plugin because I was inspired by the
> MooTools version
look at the livequery or listen plugins to handle this
On May 22, 1:39 pm, Adam <[EMAIL PROTECTED]> wrote:
> I'm having trouble dynamically adding both Kelvin Luck's and the UI
> datepicker to a page. I have one working fine when the page loads, but
> bringing one in via an AJAX call doesn't seem
Sorry for the double posting, but the other subject was vague...
There needs to be a check for value !== null in the attributeRules
method of the jquery.validate plugin. It bombs otherwise when
collecting the rules . Not sure if this is because of using the 1.2.5
jq release.
Also I have a patch h
There needs to be a check for value !== null in the attributeRules
method of the jquery.validate plugin. It bombs otherwise when
collecting the rules . Not sure if this is because of using the 1.2.5
jq release.
Also I have a patch here http://plugins.jquery.com/node/1667 that is
three months old..
You need to include a check for value !== null in attributeRules
method...I'd submit a patch but not sure where to do it to have it
considered.
mike
On May 22, 6:28 am, Deep Ganatra <[EMAIL PROTECTED]> wrote:
> Hi,
> I just downloaded Jquery validator verison: 1.3 (I am using JQuery
> 1.25)
>
> W
looks fine on my machine
On Apr 16, 12:02 pm, "Rick Faircloth" <[EMAIL PROTECTED]>
wrote:
> Hi, all..
>
> I was attempting to demo this site and show off
> the Cycle plug-in to a prospective client, but the
> Cycle plug-in was acting very strangly... flickering, not
> showing images, etc.
>
> The
44 matches
Mail list logo