Hi all,
jgGrid version: 3.5.2
{
name:'carname',
index:'carname',
width:150,
align:"right",
editable:true,
edittype:"select",
editoptions:{value: } // How to populate value with query result.
},
I want to populate the value of edtioptions of my edittype:"select"
with a query result be
I am selling mine too - selling at original price: $150
(Last minute plan change - so I can't make it)
PM me if you are interested.
On Sep 1, 12:49 pm, "Eric S." wrote:
> The ticket has been spoken for.
>
> On Sep 1, 11:19 am, Eric wrote:
>
> > Hello,
>
> > I have a ticket for the jQuery confe
Does anyone have any ideas for this issue?
On Sep 1, 4:49 am, Mil wrote:
> Hi,
>
> I am trying to use this
> autocompletehttp://docs.jquery.com/Plugins/Autocomplete
> but I'm having some issues with it. I'm trying to create a simple tag
> autocomplete feature.
>
> This is what I want to type (
On Sep 3, 1:25 pm, "Rick Faircloth" wrote:
> Thanks for the explanation, Rob.
>
> I'll have to check into setAttribute...am I correct in assuming
> that "setAttribute" is a Javascript function, but not jQuery?
setAttribute is a DOM Core method of the Element interface[1]. jQuery
wraps a great
PHP's in_array was created before jQuery's inArray, so I'm not sure of
the origin of the choice of function name jQuery took, but if it was
from PHP, they either named the function incorrectly or created the
function with a return value that is incorrect. I am leaning toward
naming it incorrectly.
hi joe,
You have to specify the "year range" according to your requirement .By
default it is
yearRange: '-10:+10'
Thanks
Rupak
On Wed, Sep 2, 2009 at 8:34 PM, hoe`` wrote:
>
> If I do something like, minDate: new Date(1930, 1-1, 14)
> or, minDate: '-70Y'
>
> The oldest date available will be
This is my testing php code, I found if I use filter, I can only get
the content from first level of object, for example
12
I can get res's contents by filter, but I can't get res2's contents,
is that possible that get any thing I want through ajax?
12';
exit;
}
?>
http://www.w3.org/199
This is an intersting problem though. Without the ability to edit the
HTML, a page refresh is going to kill any work you did.
Granted, in most cases, the need for a page refresh would not matter,
as the browser is going to drop the input form data anyway.
One advantage would be you could
Thanks for the explanation, Rob.
I'll have to check into setAttribute...am I correct in assuming
that "setAttribute" is a Javascript function, but not jQuery?
Also, your statement, "There is no 'HTML in the DOM'. HTML is used
to create a DOM." seems like semantics.
So is it correct to say that
In code prior to this, if an empty text input is found in a form upon
submission,
the text "Entry required." is put into the text input.
Once all the text inputs have been validated, then the function below is
run:
function validation() {
$(':input.
On Sep 3, 6:17 am, Matt Wilson wrote:
> I have a list of radio buttons, all with the same name, and each has a
> different value.
>
> I want a validator that tests if one is picked. How do I do this?
Set one as checked by default (as suggested by the W3C HTML
specification), no script or vali
On Sep 3, 6:55 am, "Rick Faircloth" wrote:
> I read that in an article dated October 17, 2008, that it was not possible
> to change the actual
>
> HTML in the DOM
There is no "HTML in the DOM". HTML is used to create a DOM.
> of the "value" attribute of a text input using
> $(this).val('myNe
Ahhh...that did it.
As MorningZ mentioned, it was a misunderstanding of the scoping of the
variable:
inside vs outside the function. I thought, too, being a "learn as I code"
programmer,
that anytime I defined a variable, I needed to precede it with "var"...
live and learn...or rather, code and
> I think you mean:
> by using that, you are -NOT- stomping over the "outside" one.
Indeed... a classic case of thinking faster than i was typing
> you are stomping over the "outside" one
Hmmm...that's what I'm trying to do.
I assume you mean by the "'outside' one", the
variable, "valid", inside "console.log(valid)".
I'm initially setting the variable "valid" to "yes"
and using the conditional block to change "valid" to "no" if there's
a
I think you mean:
by using that, you are -NOT- stomping over the "outside" one.
Rick,
If you don't understand, using "var" is a variable declaration.
Setting: var valid = 'no';
inside the each() callback function will have that variable exist
locally only inside that function. It will not overwr
Thanks!
On Sep 2, 12:55 pm, Mike Alsup wrote:
> > I'm using the jquery form plugin from here:http://malsup.com/jquery/form/
>
> > Is there any callback function or handling of server-side errors in
> > this plugin so I can now if an ajax action failed?
>
> That plugin uses $.ajax under the hood
"Why?"
Because you are failing to understand "variable scope"
Don't use the "var" keyword inside the if block, by using that, you
are stomping over the "outside" one
http://www.google.com/search?q=Javascript+variable+scope
On Sep 2, 10:26 pm, "Rick Faircloth" wrote:
> Here's the code:
>
> va
Thanks for the reply, Ricardo...
After thinking about it, it really doesnt matter if the HTML is changed.
It'll process fine, as you said.
What I was really trying to avoid was a problem with the newly entered
data being removed if I focused on the field with the cursor again.
I came up with a
Here's the code:
var valid = 'yes';
$(':input').each(function() {
if ( $(this).val().length == 0 )
{ alert('in!');
var valid = 'no';
alert(valid);
$('#rentalAppErrors').fadeIn(500);
$(this).addClass('inputError');
ROT13 is not immediately readable to a person who has javascript
disabled. The method I used was specifically designed to keep the
email address obvious to a human.
On Wed, Sep 2, 2009 at 4:46 PM, shapper wrote:
>
> I think the Rot13 is better at least according with the following
> results:
> ht
Thanks a lot man, work like a charm.
On Sep 2, 8:21 pm, Charlie Griefer wrote:
> assuming the particular div has an id="myDiv" attribute...
>
> $('myDiv input:radio')
>
> http://docs.jquery.com/Selectors/descendant#ancestordescendant
>
> (the docs are your friend)
>
> You could also apply a spec
The change in value won't appear in the HTML (in firebug for example),
but the value *will* change and be submitted with the form. That's
standard DOM scripting behaviour. There is no reason to change the
attribute in the HTML unless you want to print it somewhere.
On Sep 2, 5:55 pm, "Rick Faircl
webguy262 wrote:
I need to get a tooltip that works when the page containing the image and the
image map is ajax-ed into a div...
I think any of them will work, but you'll have to reinitialize them on
the ajaxed content...
-- Scott
assuming the particular div has an id="myDiv" attribute...
$('myDiv input:radio')
http://docs.jquery.com/Selectors/descendant#ancestordescendant
(the docs are your friend)
You could also apply a specific class name to the ones you want to
manipulate. But if you don't want to (or can't) manipul
How can I manipulate all the radios in a div? For example say I have 2
div and both have a couple of radio buttons and everyone has different
names. Say I wanted to manipulate only the radios in one of the div's
how could achieve that?
Thank you so much, Mike. Your solution works perfectly.
Thanks again for a great plugin.
-Halsey
On Sep 1, 7:14 pm, Mike Alsup wrote:
> > I need a modal window within an element on my page and theBlockUI
> > plugin works
> > great for this. The problem is that I want a button on theblockUI
>
Well, it works. I am not sure why my first implementation wasn't
working.
Thank you for your help!
Kind regards,
Dale Larsen
On Aug 25, 6:04 am, Satyakaran wrote:
> I think you need to change your approach.
> :hover is not set-able by jquery .
>
> I tried this
>
>
>
> function hover1() {
Hello!
How can I determine the response type (text/html, text/javascript,
etc.) in the Form Plugin's success callback? The callback recognize 3
parameters, the first is the data, second is the status, and third is
an object with lots of properties. I mean the response type can be in
this object,
I am trying to use the dropdown check list Jquery plugin from
http://code.google.com/p/dropdown-check-list/
I have a question about fetching the 'checked' item IDs or the Comma
separated values.
Basically I am calling the getJSON method on Change of the dropdown
and I want to either pass an arr
On Sep 2, 2:21 pm, msoliver wrote:
> Fair point. What you suggest certainly would be better than no check.
> But, it's not a test that openerFunc is actually a function, just that
> it exists and has an call property.
That seems better to me than the crazy logic in 1.2's isFunction()!
Any time
Sorry, Mike, one more quick question:
My message in this situation is not centered for some reason. It is
in the upper left of the div it is blocking. But if I instantiate it
a second time without refreshing the page, it moves to the center,
where I want it. I tried a bunch of css options to fi
Your css is the problem :D
Missing the "." before the testing
On Wed, Sep 2, 2009 at 15:14, J. Martin wrote:
>
> I am attempting to create a box with malsup's jQuery nested corners,
> but can't get it to display properly.
>
> Here's my CSS:
> testing { margin: 0; background: #ffc; padding: 10px
I read that in an article dated October 17, 2008, that it was not possible
to change the actual
HTML in the DOM of the "value" attribute of a text input using
$(this).val('myNewValue');
My experiments just now bear this out.
Is this still true? The writer of the article developed a work-a
Thanks Michael,
your answer helped me solve the problems I was having, if you're in
NYC let me know, I owe you a beer.
- Hunts
I think the Rot13 is better at least according with the following
results:
http://www.josephfinsterwald.com/UI/Pages/article4.aspx
On Sep 2, 7:01 pm, brian wrote:
> I wrote one but have never gotten around to submitting it. Feedback welcome.
>
> /**
> * De-obfuscate printed email addresses whic
Perhaps I am misunderstanding something in your requirements, but with the
validation plugin (link below), it is as simple as adding class="required"
to the input tag.
http://docs.jquery.com/Plugins/Validation
HTH
I have a list of radio buttons, all with the same name, and each has a
different value.
I want a validator that tests if one is picked. How do I do this?
My radio buttons dont have the same name because the other programmer
used different names to call them singularly because of some issue
with IE 6 & 7. Ok What would like to have is the radio button's name,
the one that got clicked, how could i return something to use with
GetElementByName,
$('input:radio').click(function() { alert(this.name); });
But... as radio buttons, wouldn't they all have the same name?
In any event, 'this' (or the jQuery $(this)) will give you a hook into the
element that triggered the click.
On Wed, Sep 2, 2009 at 12:44 PM, gilberto.ramoso...@gmail.com <
gi
Check out the css on both to see that there is not an id or class with
the same name.
On Sep 2, 1:35 pm, evansonuk wrote:
> Hi,
>
> Having problems with conflicts between Lightbox 2 & smooth scroll.
>
> Does anyone know anything about this, or better yet anyone know a way
> around this?
>
> I am
Great, thanks.
On Sep 2, 4:20 pm, MorningZ wrote:
> "because the other programmer
> used different names to call them singularly because of some issue
> with IE 6 & 7"
>
> technically he *created* an issue with IE since the radio buttons are
> not grouped so that the user can only select one in
"because the other programmer
used different names to call them singularly because of some issue
with IE 6 & 7"
technically he *created* an issue with IE since the radio buttons are
not grouped so that the user can only select one in the bunch of them
(if that's what you want, but you don't make
Hello I have a bunch of radio button and I want a funtion tu run when
any of the radio button is clicked so I used $('input:radio').click
(function... what I want to do is to get the name attribute of the
clicked radio, how can i do this?
On Sep 2, 1:16 pm, msoliver wrote:
> if ($.isFunction(openerFunc))
Why not just:
if (openerFunc && openerFunc.call)
?
Matt Kruse
Yes, in firefox 3.5.2 and windows7 when text is fading in or out -
text color is yellow. :)
Anyone have any idea how to fix this?
And yes, it is working like it should in every other browser.
On Jul 30, 7:29 am, Ricardo wrote:
> Nothing like crowd-sourced tests! :)
>
> Looks good in all browse
Fair point. What you suggest certainly would be better than no check.
But, it's not a test that openerFunc is actually a function, just that
it exists and has an call property.
Thanks though,
- Mike
On Sep 2, 11:45 am, Matt Kruse wrote:
> On Sep 2, 1:16 pm, msoliver wrote:
>
> > if ($
Hi All,
Not sure this is the best place for this question, but I hope someone
can help.
I have a form which requires a lot of client side validation. As this
takes a while I am using an overlay to stop access to the form. The
problem is, the overlay only appears after all valition code has
exect
I am writing some code where I want to insert and subsequently hide a
TBODY element within a table, and animate it doing so.
Unfortunately, if I do hide() followed by show(250), say, then the
element becomes
and this results in the inserted section displaying after the end of
the table :-(
> I'm using the jquery form plugin from here:http://malsup.com/jquery/form/
>
> Is there any callback function or handling of server-side errors in
> this plugin so I can now if an ajax action failed?
That plugin uses $.ajax under the hood so all the same options apply,
including the 'error' call
I'm using the jquery form plugin from here:
http://malsup.com/jquery/form/
Is there any callback function or handling of server-side errors in
this plugin so I can now if an ajax action failed?
Thanks,
Craig
Hi,
Having problems with conflicts between Lightbox 2 & smooth scroll.
Does anyone know anything about this, or better yet anyone know a way
around this?
I am new to this and not particularly savvy to say the least.
Help would be appreciated.
Thanks
I am attempting to create a box with malsup's jQuery nested corners,
but can't get it to display properly.
Here's my CSS:
testing { margin: 0; background: #ffc; padding: 10px; border:0; zoom:
1;}
div.outer { float: left; margin: 15px; background: #c82; padding: 8px;
width: 22em }
My JS:
$(functi
I get an error "Error: Form elements must not be named "submit"." when
i have a form with the ability to upload files. If a file is selected
for upload i get the error, and not when there is no file for upload.
why is that? what difference does it make if there is a submit
button?
I wrote one but have never gotten around to submitting it. Feedback welcome.
/**
* De-obfuscate printed email addresses which are of the type:
*
*
* some link text [ someone AT gmail DOT com ]
*
*
* The braces around the address part are hard-wired here. That should
* probably be set by
Hello,
We've recently upgraded jQuery to 1.3. I've read about the changes to
the isFunction method and have run into a problem. Our site has a
couple of popup windows that, on completion, call back into the parent
window. As such, we had code like this:
var openerFunc = window.opener.pic
On Sep 2, 6:20 am, IschaGast wrote:
> I am having rounded corners in a site but I don't want them in IE
> because it does strange things with the corners.
Many non-IE browsers already have native CSS support for rounded
corners. If you want to exclude IE anyway, why not just use pure CSS?
Matt
You could just add name attributes to the text fields (e.g. ) and then just use data:$('#myForm').serialize().
That will give you a querystring like:
item_01=123&item_02=456&item_03=789 (you can't pass an array to
'data', it expects an object or a string).
On Sep 2, 10:43 am, huntspointer2009
unsubscribe me
Eric Paige
Web Developer
On Wed, Sep 2, 2009 at 10:44 AM, shapper wrote:
>
> Hello,
>
> I am loading TinyMCE using the new JQuery Plugin:
>
>
Hi folks,
I have been searching and searching, but cloudn't find it.
I'm looking for a slide-in popup (from the top) that does fade's its
background while it slide's. Something like http://mad4milk.net/ when
you press contact. But then in jQuery. I hope someone has the
knowledge how to do it (wi
///Comment:
Can someone help me do the following:
create a function that collects ALL of the form's text field's Values,
along with their corresponding ID, and create an Array like this:
Example: var dataString = (item_01=123, item_01=456, item_01=789)
then take the 'dataString' Array, an
If I do something like, minDate: new Date(1930, 1-1, 14)
or, minDate: '-70Y'
The oldest date available will be 1999, and no matter what I've tried
I've never been able to get beyond this barrier. Is this a limitation
of datepicker?
Thank you,
~Joe
Use .live()
http://docs.jquery.com/Events/live#typefn
On Sep 2, 1:51 am, Daniel wrote:
> Hi There,
>
> I'm having trouble accessing some Elements with jQuery after I created
> them and added them to the HTML. I want to add some Checkboxes to my
> Site as soon as the user clicks another Checkbo
You could try to test for the existence of a global function that way, but
it wouldn't work. It would give you a reference error on 'functionname' if
it isn't defined.
For a global function you would use:
if( window.functionname ) {
...
}
But Miguel's question wasn't about glo
Hello,
Could someone recommend me a good email obfuscator/defuscator plugin?
Thanks,
Miguel
I found the following one:
http://plugins.jquery.com/project/RotationalStringObfuscator
It seems interesting.
How can I apply it to all emails on my web page?
Thank You,
Miguel
if(functioname)
{
//it exists, do stuff
}
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'Whether one believes in a religion or not,
and whether one believes in rebirth or not,
there isn't anyone who doesn't appreciate kindne
appears you used CSS for another menu system.(
Author: Craig Erskine Description: Dynamic Menu System)
Rules for hovers aren't working with script. If you want to use the
script use the CSS also. There are classes like sfHover that get added
on show that you aren't accounting for in the othe
Resolved...The issue was the recordset query ...the Jquery code was ok
afterall.
My lesson learned is to find a better way to test errors ...
Thx
On Sep 2, 9:26 am, "robert...@gmail.com" wrote:
> I was trying to simplify my question and consequently may have not
> asked it correctly.
>
> Here it
It may be too late, but I would recommend avoiding a call to an ASPX
page like that. Even though you're not using it, the entire ASP.NET
WebForms Page class is instantiated for any call to an ASPX page,
which has significant overhead.
An ASMX web service or ASHX handler would be much better choi
Hello,
I am loading TinyMCE using the new JQuery Plugin:
I want to use an external js file for validation of many forms - all
of which have items in common, like start_date. I want it to be re-
usable from application to application.
Using the groups I have found that I can do this by having something
like
[code]
$(".sharedClassName).each.function() {
that worked!
thanks mike
On Sep 1, 6:22 pm, Mike Alsup wrote:
> > what i get back from ajax looks exactly the same as the form above
> > just with updated values.
>
> Instead of doing this:
>
> $(".button").click(function() { ...
>
> do this:
>
> $(".button").live('click', function() { ...
>
you should be able to wrap that call in
if (jQuery.tinymce) {
... your code doing tinymce stuff ...
}
On Sep 2, 10:44 am, shapper wrote:
> Hello,
>
> I am loading TinyMCE using the new JQuery Plugin:
>
>
I'm not sure what's going on with the background fade of the my
dropdowns and flyouts.
When I mouseout, the background disappears, but the text remains.
What's going on with that?
You can view it at http://www.ciu.edu.
Thank you,
Chris Coppenbarger
I was trying to simplify my question and consequently may have not
asked it correctly.
Here it the revised question:
1. I have a from inside a repeat region , I append the id with the
record index for identification purposes. I also have my display div
inside the repeat region.
'''
hi daniel,
You have to bind click function after the element was append to DOM. But
there is a problem Jquery support multiple binding. So you have to first
unbind the click function, then append an element to the DOM and then bind
click function. I think this code will help you -:
$("div#categor
On Sep 1, 7:26 pm, Mike Alsup wrote:
> > I am trying to define an "onclick" event to a form button, so that
> > when I click this button, content from another webpage will overwrite
> > this page (not open a new webpage). I've tried the below code (sample)
> > which is not working.
>
> >
> > <
Maybe its a problem with you xml:
<*product_header_sites*>F90
On Wed, Sep 2, 2009 at 08:53, Knight, Doug wrote:
> All,
>
> I wasn’t sure if this got lost in the shuffle of my first post. Does anyone
> know why the following works under FF and not under IE7? There are comments
> within the cod
This is something I discovered when implementing Superfish on our
recently redesigned site at http://www.ciu.edu.
We have navigation menus that are edited by content editors as html
files. Our PHP files will include that html file if it exists.
However, the WYSIWYG editor (XStandard in this case)
http://docs.jquery.com/Plugins/Validation/Methods/required
I am trying to implement the bottom option into my website, and i
think this is the option i want.
Im trying to get an either or validation, that one or the other is
required.
I think this one can do it, but is there a way instead of
r
Hi There,
I'm having trouble accessing some Elements with jQuery after I created
them and added them to the HTML. I want to add some Checkboxes to my
Site as soon as the user clicks another Checkbox. That works just
fine. But if the user clicks on one of these added checkboxes, i want
an event to
Hi all,
I have a page that I want to use to display updates coming from the
server.
In my innocence, I assumed that the following code:
function get_status(response){
$("#selector").text(response);
$.ajax({
type: "GET",
url: ,
succes
Hi all,
Here is something cool... jQuery window scroll with animation
http://blog.freelancer-id.com/index.php/2009/03/26/scroll-window-smoothly-in-jquery
Hi,
I'd like to put context menu ( http://abeautifulsite.net/notebook.php?article=80
) on each tree view item ( http://abeautifulsite.net/notebook.php?article=58
)
The tree have many sub directories, sub sub directories, etc... and
files.
I need the id of the selected item (directory or file),
All,
I wasn't sure if this got lost in the shuffle of my first post. Does anyone
know why the following works under FF and not under IE7? There are comments
within the code to explain what I'm seeing. Sorry, I don't have an external
facing website on which to post this.
Doug
From: jquery-en@g
Ah damn, i have that all wrong. it's backwards, sorry about that
but maybe that would provide an alternative direction none the less
http://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx
On Sep 2, 7:57 am, MorningZ wrote:
> I have zero idea if this actually works, but maybe "condit
I have zero idea if this actually works, but maybe "conditional
comments" would work?
On Sep 2, 7:20 am, IschaGast wrote:
> I am having rounded corners in a site but I don't want them in IE
> because it does strange things with the corners.
>
> Something like below isn't that possible?
> .corn
if ( !$.browser.msie && !$.browser.version <= 7 ) {
$("div").corners("4px");
}
though the "$.browser.msie" will block any ie browser, so the bit making sure
it is under version 7 is redundant.
IschaGast wrote:
I am having rounded corners in a site but I don't want them in IE
because
I am having rounded corners in a site but I don't want them in IE
because it does strange things with the corners.
Something like below isn't that possible?
.corners("4px").not($.browser.msie && $.browser.version <= 7)
What are the other solution to only target IE for not rounding that
corners?
Use live instead of bind
$("#jqmodalbind").live("click", function(e){
alert('Binding JQModal');
$('#addnote').jqm({ajax: '@rel', trigger: '.addnotetrigger'});
});
neburton wrote:
I've been having problems getting jqmodal modal dialogs to display on
links added dynamically by client sid
I've been having problems getting jqmodal modal dialogs to display on
links added dynamically by client side code. I've demonstrated the
problem at the following URL: http://www.neil-burton.co.uk/jqmodaltest/index.htm
jqModal plugin here - http://dev.iceburg.net/jquery/jqModal/
Any help would b
@Josh Powell: Sure here is the full source in HTML (below you'll find
the Javascript Source written in Prototype)
HTML:
http://ajax.googleapis.com/ajax
Based on http://plugins.jquery.com/project/autocompletex
$("#search").autocomplete("/searchAutocomplete", {
dataType: "json",
parse: function(data) {
return $.map(data, function(row) {
return {
data: row,
amuhlou wrote:
oh, looks like there's also an "Unsubscribe" button on that same Edit
my Membership page. Have you tried that?
On Sep 1, 8:52 pm, Peter Stulzer wrote:
Thank you amuhlou. That's what I tried first but I still get all the
mails. Is there another way to unsubscribe or can some m
95 matches
Mail list logo