Sorry :( made a typo in the above code.. here is the right version..
$("#uploadform").validate({
rules: {
id11: {
required: true,
depends: function(element) {return
$("#id1").is(':visible') }
},
Sorry, the above code did not have any metadata. I tried it with the
rule specification and it works when both the "file" and "text"
elements are missing. But then when I enter the value for one of them
and hit Submit, the form gets submitted. I am not sure what I am doing
wrong... Please let me k
Hi
I have issues with Safari that AJAX page disappears after load and
also C# page methods does not load.
BUT if i choose from the Safari menu: Develop - User Agent - then it works Ok!!!
My question - can I control this from Javascript - i mean to change
this settings in the client browser or a
Yeah thanks... I just did that as a work around... But am still
wondering if there is any cleaner way to handle this :D
On May 4, 11:32 am, MorningZ wrote:
> Hmm.. without more code to show, that doesn't make much sense... but
> anyways
>
> doing something like
>
> var M7 = {}; //"Global" va
Hmm.. without more code to show, that doesn't make much sense... but
anyways
doing something like
var M7 = {};//"Global" variable accessible to all
$(document).ready(function() {
M7.function = myFunction() {
};
});
You can now say call:
M7.myFunction(); from anywhere on th
Because there is a property.. which another function sets for a login
panel, which changes the height...(in html) I am resizing the flash
object accordingly. So i need access to this aswell..
On May 4, 11:07 am, MorningZ wrote:
> why aren't you putting "myFunction" outside of ".ready()"?
>
> On
The below code which display the username from the user table,
When i click the username , then that particular user firstname will be
display ,
Now i want to edit that particular person firstname ,
How to do that with jquery ,
Jofire Contacts
li{
list-style:none;
color:#0033FF;
cursor:poin
why aren't you putting "myFunction" outside of ".ready()"?
On May 4, 12:06 am, Mech7 wrote:
> I have a function within the
>
> $(document).ready(function() {
>
> function myFunction(){
>
> }
>
> ));
>
> But I want to call it from Flash? What name should I use?
> jQuery.myFunction does not seem
I have a function within the
$(document).ready(function() {
function myFunction(){
}
));
But I want to call it from Flash? What name should I use?
jQuery.myFunction does not seem to work..
> if(op.vertical) {
> cssProp.height = height;
> cssProp.top = '50%';
> cssProp.marginTop = halfHeight;
> }
I did try changing the line to:
cssProp.margin-top = halfHeight;
... but that tosses up a syntax error.
Hi,
Any more help on this please. Had no response since for weeks. I would
realy apreciate the help. I looked up a lot of tutorials and stuff,
and does not matter what I try, I do not manage to get it to work.
Thanks.
Hugo
On Apr 18, 11:47 am, "globalpropertyonline@gmail.com"
wrote:
> Hi
jquery1.3.2, 1.3.1, 1.2.6
IE 6, 7, 8
I have some code for a nested select list that opens child list when
an anchor is clicked on, then retrieves some content through an ajax
call. In between that, I'm displaying my "loading" image, which is
done using a showIndicator() function. That, in turn, m
Showing some snip of code would go a long way for others to help
you
pretty much keep in mind that you can't wire up the ".tablesorter()"
call until the table exists on the DOM
On May 3, 3:51 pm, "msher...@gmail.com" wrote:
> I am a newbie.
>
> I am wondering if someone can explain how to
Brian,
thanks for the reply.
What you said makes total sense.
I guess I was misinterpreting what .post() was supposed to invoke.
I guess my impression from the docs, was that it was the alternative
to the ajax method and would refresh the page such as submitting a
traditional form to itself (or an
Hi All,
I am trying to use the validate plugin to validate a form but it
does not work..Could you please let me know what i am doing wrong?
The page starts with a simple drop down asking for the user to
choose a category. Once the category is chosen, a div block becomes
visibile. WHen the
I am a newbie.
I am wondering if someone can explain how to configure the tablesorter
plugin to work with a table generated with ajax.
My usage is straightforward.
1. User makes form selections
2. hits submit
3. parameters passed to php file
4. table is generated from php/mysql
5. result is del
Love this menu. This menu will be appearing in module on right hand
side of page. So I need the submenu to display on left, not right. So
how to make this a right to left menu? I've played around a bit and
have had no luck yet. I've used the navbar on another site and I'd
really like to use this v
Hi
I try to implement a picture as a cluetip that should show up when the
user touches the homepage logo. I tried different things but did not
make it properly. the logo had an awful border in the colors of the
links and in Firefox 3 the cluetip did not show.
any solutions?
txs in advance
Markus
I understand the view that Ajax / Lazy-Loading doesn't belong in the
grid's code-base but I do think an example showing a basic form of
this functionality would be a big help. I know I'd appreciate it.
>$("select").change(function () {
> var theValue = this.value;
>//alert(theValue);
>$.post("select.php", { color: theValue },function(){alert
> (theValue);});
>
>});
There isn't any code here to change the div The PHP block you have at
That's exactly what the problem was. I never even thought about that
because the css class declared it shorthand. The border-top-width,
etc. worked. Thanks for your help!
On May 2, 6:35 am, Paul Mills wrote:
> Hi,
> I think it may be to do with 'border' being shorthand for all the
> individual b
Hi everyone,
I've got a Draggable list working in conjunction with a Sortable list.
When I drag an item from the draggable to the sortable list I want to
modify the contents of the list. The code I'm using right now is:
$("#list li").draggable({
connectToSortable: "#page ol",
containment:
Hello.
Jquery noob, but lovin it.
Can't get a rudimentary post to work, but probably missing something
very simple.
Alerts are working, but div content is never updated.
Following in file called "select.php":
--
http://code.jquery.c
On May 2, 2009, at 9:28 PM, mkmanning wrote:
Don't use .text(), you'll get an array-like object of text nodes.
Tiny clarification: you'll get a concatenated string of text nodes.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On May 2, 2009, at 9:28 PM, mkm
QUESTION: How does one control the order in which jQuery methods are
called and executed when loading a page?
BACKGROUND: This question has been simplified from my previous
question on load order.
As this appears to be a complex issue -- otherwise, it would probably
have been readily addressed
Hi,
thanks for so many helping messages ;-)
But seriously, is it to hard to code that no one posted a clue?
Best Regards
On May 2, 12:03 am, MarkZ wrote:
> Hi
> Could Anyone help me with this?
> I have a form witch contains e.g.:
>
> X input fields like this:
>
>
>
>
>
>
>
>
> And I need l
On May 3, 8:59 am, Ariel Flesler wrote:
> Fixed:http://dev.jquery.com/changeset/6334
This link was very useful. It taught me that fn in the following
construction means prototype.
(function($) {
$.fn.someFunctionName function( ) {
This functions code block
};
})(jQuery);
So, when I
I'm also having this problem. I'm using localscroll on a one-page
site and need to add an active state to the navigation items. the
problem is, it doesn't seem to work with local anchors. Not sure if it
matters, but I also have sticky header and footer.
Here's some example code:
HTML:
logo
On May 3, 1:22 am, Klaus Hartl wrote:
> $() === $(document)
So, if I have understood properly. jQuery must always be told "Where
to go!" when called in an HTML document, but knows automatically where
to go when called inside another jQuery method in a JavaScript
document. Is this correct?
Rodd
Thanks Charlie! That did the trick :)
Charlie Tomlinson wrote:
>
>
>
>
>
>
>
> removeAttr() will take the whole href property out of the tag
>
> Test will become
> Test
>
> if you want to keep href property you could overwrite the href values
>
>
Awesome, thanks! That works exactly how I want it!:)
--
View this message in context:
http://www.nabble.com/removeAttr%28%27href%27%29-on-document-load--tp23355653s27240p23358695.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
removeAttr() will take the whole href property out of the tag
Test will become
Test
if you want to keep href property you could overwrite the href values
$('#add a').attr('href','#'); produces
Test
Sam Granger wrote:
$(function() {
$('#add a').removeAttr('href');
});
What'
Hi Nishan,
Using FireBug, can you copy the JSON output your receiving in both
cases. Chances are high the syntax varies between the script and the
text file. Also, in the php script I wonder if it is using a Content-
type whereas the text file is not. I haven't pointed Flexbox at a
static text fi
On May 3, 6:54 pm, "Jordon Bedwell" wrote:
> ... and if you are loading the compressed libraries, you aren't using
> very much of their 1TB+ bandwidth they get a month. ...
Ok, but what happens if 1000 sites include jQuery from their page?
10.000 sites? Millions?
I think you need to return data with line breaks after it:
one
two
three
internally the autocomplete plugin splits on the pipe. See this:
http://grover.open2space.com/node/190
and this:
http://docs.jquery.com/Plugins/Autocomplete/autocomplete#url_or_dataoptions
"The result must return with
Please note here http://malsup.com/jquery/form/#code-samples
in section File Upload
that Response Content-Type header MUST be text/html ( at least in FF )
for correct handling JSON_ENCODED_RESPONSE
The truth of the matter is, Jquery uses MediaTemple, and their site is very
optimised and if you are loading the compressed libraries, you aren't using
very much of their 1TB+ bandwidth they get a month. But I stick to if you
really want to off-load the scripts so they load faster since some host
Yes, I was loading the javascript files from their site. I never do
that, but I did. My bad. Sorry for the rant, it was a really bad
day. Thanks for all the excellent feedback.
On May 3, 7:52 am, "Jordon Bedwell" wrote:
> Instead of writing a long winded statement that was, well, worthless h
I have not tried DD Roundies yet - it's on my todo list. Hoever I am
using a jquery plug-in called 'Cornerz' that is working very well for
me. It uses Canvas/VML for corners, but does not require any
additional plug-ins:
http://labs.parkerfox.co.uk/cornerz/
This plug-in does *not* automatically
Fixed: http://dev.jquery.com/changeset/6334
$() === $(document)
$(undefined) === $([])
$(null) === $([])
$("") === $([])
--
Ariel Flesler
On May 3, 12:28 pm, Ariel Flesler wrote:
> Correction:
>
> $() === $(document)
> $(null) === $([])
> $("") === $([])
>
> This is wrongly documented and has
You can't have more than one element with the same ID, and
"AreasOfInterest[]" is not a valid ID. It looks like you were hoping that
the [] notation would give you an array of elements that have the same ID.
Use a common classname on your checkboxes instead, e.g.
...etc...
Th
Correction:
$() === $(document)
$(null) === $([])
$("") === $([])
This is wrongly documented and has orphaned code, will report.
--
Ariel Flesler
On May 3, 12:16 pm, Ariel Flesler wrote:
> FYI, not anymore.
>
> $() === $([])
>
> It now returns an empty jQuery collection
>
> --
> Ariel Flesler
FYI, not anymore.
$() === $([])
It now returns an empty jQuery collection
--
Ariel Flesler
On May 3, 5:22 am, Klaus Hartl wrote:
> $() === $(document)
>
> --Klaus
>
> On 3 Mai, 07:39, kiusau wrote:
>
> > QUESTION: What does the first pair of parentheses indicate in the
> > following stateme
Instead of writing a long winded statement that was, well, worthless how
about you suggest they use Google Ajax API/Hosting?
http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Beha
$.getJSON('/MailDatQueryJsonAction',
{mailDatHeaderID:maildatheaderid},function(data){
$('#historyJobID').attr("value",data.historyJobID);
}
In jquery-1.2.1.js, when data.historyJobID is empty,it will return
"",correct!!
But in jquery-1.3.2.min.js, it returns "null
$(function() {
$('#add a').removeAttr('href');
});
What's wrong with this code? I want to remove all href's from a tags onload
of a document. Still a bit new to jQuery so sorry for this silly question!
Just been trying to figure it out for ages. The links are in a
Hah,
you should not link directly to the libraries on jQuery.com or
jQueryUI.com as it might also break your site in case they upgrade the
code. and it adds another dependency to another server you are not
in control of...
So don't blame them, but just create a local copy on your server! Or
d
Am using JQuery Autocomplete on my templete, but as i get the results
the Autocomplete only displays one item despite that the results that
are fetched have more that one item. It only shows the first item on
the list!
Example:
if i have a result list with ('python', 'pythonism', 'pythodus')
an
Am using JQuery Autocomplete on my django templete, but as i get the
results the Autocomplete only displays one item despite that the
results that are fetched have more that one item. It only shows the
first item on the list!
Example:
if i have a result list with ('python', 'pythonism', 'pythodu
fuck off
On 4/21/09, Mark wrote:
>
>
> hello,
>
> I want to use this menu but i have so many main items that there are 2
> rows.
> The first row is always on top.
> How can i get the second level menu to be on top of the fisrt item
>
> menu-item1 menu-item2 menu-item3 menu-item4 menu-item5
> menu
Hi,
You had to call tb_init('a.thickbox, area.thickbox, input.thickbox');
Maybe you had to rename the thickbox classname (in case you have other
thickbox links in the static page, the recall of this function will
double the thickbox call).
Cheers
POB
On 24 avr, 00:08, ButtersRugby wrote:
> He
As far as safari / chrome goes you can use webkit- similar to moz-
The only real browser behind the times is IE.
On May 2, 2:41 pm, kiusau wrote:
> On May 2, 5:21 am, "Richard D. Worth" wrote:
>
> > One of the best ones I've seen lately is DD_roundies, by Drew Diller:
> >http://www.dillerdes
You could use this as a starting point and just modify it to your
liking
http://jqueryfordesigners.com/coda-popup-bubbles/
On May 2, 4:48 am, sebastienj wrote:
> nobody's know?
lets assume your button are hyperlinks
so the element for that is "a"
$("a").click(function() {
var id = this.attr("id"); // variable id will contain the clicked elements
ID
so you can say something like
id.addClass("clicked");
alert(id+" was clicked");
});
On Sun, May 3, 2009 at 4:17 AM, Ingo
yeah scripts do run better they can b access more locally.
just like images. they load longer if you loading them from another URL
best to have the scripts on your FTP.
On Sun, May 3, 2009 at 4:21 AM, Richard D. Worth wrote:
> Thanks for the note. It's back up.
>
> - Richard
>
>
> On Sat, May 2,
lets start by giving your form an id. lets call it chekform
...
THE JQUERY
$(function() {
var obj = $("#checkform"); // create a reference to the object
var checkboxes = $("input.check", obj); // a reference to each check box
with the class check
var value; // variable that's is going to c
As I said in my last post. I'm creating a firefox extension --> there
is no form. There is only my menu entry and when I fire it, nothing
happens in firebug.
But my question is not what url I get. I want to know where I have to
look for it, because the url will be different everytime...
Hope you s
$() === $(document)
--Klaus
On 3 Mai, 07:39, kiusau wrote:
> QUESTION: What does the first pair of parentheses indicate in the
> following statement:
>
> $().getBrowserInformation();
>
> BACKGROUND: I have noticed that their presence or absence can make or
> break JavaScript's acknow
$ == jQuery
to make jQuery work when other js frameworks are also in use you can make
jQuery() work too - avoiding conflicts
the first set of parenthis are for passing params to the jquery object
AFAIK When setting defaults for jquery plugins the parenthis are not
required. I don't know if they
59 matches
Mail list logo