[jQuery] create a menu in jQuery easyui

2010-01-19 Thread stworthy
To define a http://code.google.com/p/jquery-easyui/ easyui menu, prepare a menu markup: New Open Save Exit Now build the menu: $('#mm').menu(); Remember the menu is hidden, show the menu by run

Re: [jQuery] how to get href value

2010-01-19 Thread adi sembiring
Got it ..., thanks all On Wed, Jan 20, 2010 at 1:22 PM, Michael Geary wrote: > But that would give you the href for the first A element in the document, > not necessarily the one you clicked. > > Going back to the OP's code, this.href would be the easiest way to get it: > > > $(document).ready(f

Re: [jQuery] how to get href value

2010-01-19 Thread Michael Geary
But that would give you the href for the first A element in the document, not necessarily the one you clicked. Going back to the OP's code, this.href would be the easiest way to get it: $(document).ready(function() { $("a").click(function(event) { alert( "You clicked

Re: [jQuery] how to get href value

2010-01-19 Thread Matt Quackenbush
$("a").attr("href");

[jQuery] Re: jquery 1.4 and jqueryui tabs with ajax load

2010-01-19 Thread MrEcho
Yes im having the very same issue. No idea how to fix it. On Jan 18, 2:59 am, "Joris D'Huys" wrote: > I've upgraded to jquery 1.4 and my tabs with ajax load no longer > work. > uncaught exception: jQuery UI Tabs: Mismatching fragment identifier. > When I use the previous jquery version, everythin

[jQuery] how to get href value

2010-01-19 Thread adi sembiring
I'm trying to get href value from anchor tag. $(document).ready(function() { $("a").click(function(event) { alert("As you can see, the link no longer took you to jquery.com"); //$("a").html.href; event.preventDefault(); }); }); ht

Re: [jQuery] Re: jQuery 1.4 and Broken UI Dialog Animations

2010-01-19 Thread Karl Swedberg
yeah, I'm pretty sure jQuery UI 1.7.2 is not compatible with jQuery 1.4. The jQuery UI team are working on an update. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 19, 2010, at 3:51 PM, lloydphillips wrote: We've just had the same issue happen this

Re: [jQuery] Re: jQuery 1.4 change event problem

2010-01-19 Thread Steven Yang
sorry not too sure what you have concluded here. so do you mean after you do the select by code, the problem is solved? or still occurs? and is this a problem that jQuery may be responsible to handle or are we suppose to handle ourselves? i was already forced to downgrade back to 1.3.2 because of

[jQuery] Re: Multiple elements slider

2010-01-19 Thread Mircea
Nathan, It does work this way! Thank you!

[jQuery] Re: jQuery 1.4 and Broken UI Dialog Animations

2010-01-19 Thread lloydphillips
We've just had the same issue happen this morning. :(

[jQuery] Re: jQuery 1.4 upgrade + env.rhino.js + blue-ridge

2010-01-19 Thread Steven Parkes
You may want to post to the blue ridge list. I just checked the sample app and it doesn't work with 1.4, though it gives an error rather than not just running the specs. I tried updating the env.js that blue ridge bundles and that fails in a completely different way ... but, then, so does the 1.3.2

[jQuery] How to insert HTML in an iframe

2010-01-19 Thread pablo
Hi, I need to insert HTML in an iframe. This works in IE but not in Firefox: $(this.iframe).append("hello"); What is the problem in Firefox? Thank you very much.

Re: [jQuery] Re: Multiple elements slider

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 3:12 PM, Mircea wrote: > This is strange, > The element is selected after I had click and drag it, change its > position. It have the class 'selected' dynamically added to it. If I > create another static element Some text - > the text resize work on that new element. You

Re: [jQuery] jquery iframe hide div

2010-01-19 Thread Nathan Klatt
Assuming you do not control the content you're embedding in the iframe, online consensus seems to be that you are SOL. http://www.google.com/search?q=css+apply+iframe+contents On Tue, Jan 19, 2010 at 4:05 PM, DOTS D.O.Technology Services wrote: > hello all any one on this ? > > On Wed, Jan 20, 2

[jQuery] Superfish - "drop up" rather than down

2010-01-19 Thread galilee99
HI, I'm trying to implement a superfish navbar but I need the menus to slide up rather than down on mouseover. Has anyone done this before...any tips? thanks.

Re: [jQuery] jquery iframe hide div

2010-01-19 Thread DOTS D.O.Technology Services
hello all any one on this ? On Wed, Jan 20, 2010 at 1:34 AM, DOTS wrote: > hello > > these days i am also working on same and trying to hide few of the div > inside the iframe of some other domain. just wanted to know can you > help me with the solution. > > Thanks >

[jQuery] Tablesorter, not sorting link column

2010-01-19 Thread ProvaFM
Hi, I'm using Tablesorter (great app) & it's sorting everything just fine except a column of odd data. The column of data looks like this: $20 $25 - $300 $40 $2 - $30 Each cell value is either a dollar amount or range of 2 figures. I want the data to be sorted with the largest number in each c

Re: [jQuery] Validate jquery plugin problem

2010-01-19 Thread Nathan Klatt
2010/1/19 Niagara : > My code with  jQuery validation plug-in 1.5 work correctly, but with > the new version NO. In what way does it not work? False positives? False negatives? Console errors or silent refusal? Help us to help you. ;) Nathan

[jQuery] Tablesorter, not sorting link column

2010-01-19 Thread ProvaFM
Hi, I'm using Tablesorter (great app) & it's sorting everything just fine except a column of odd data. The column of data looks like this: $20 $25 - $300 $40 $2 - $30 Each cell value is either a dollar amount or range of 2 figures. I want the data to be sorted with the largest number in each c

Re: [jQuery] Selection broken in Firefox 3.5.7

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 2:31 PM, Jeff wrote: > if ($("input[type='checkbox'][checked]").size() == 0) Think you want: if ($("input[type='checkbox']:checked").size() == 0) Nathan

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread parot
Hi Nathan Thanks a lot for everything, managed to sort the years out OK not in the java but in the PHP page - I'm just an old fashioned PHP type of guy really. Thanks alot for everything parot wrote: > > Natahn, > > Very very nearly there - just ummm not sure where to put the Year code. >

[jQuery] append return onto text value

2010-01-19 Thread Benn
How do I append a hard return onto a text value box so that it causes it to submit the form?

[jQuery] Re: Multiple elements slider

2010-01-19 Thread Mircea
This is strange, The element is selected after I had click and drag it, change its position. It have the class 'selected' dynamically added to it. If I create another static element Some text - the text resize work on that new element.

[jQuery] Re: Multiple elements slider

2010-01-19 Thread Mircea
Thanx Nathan, I've set a class on the selected element and tell the slider to resize text on that class. Firebug tells me that the class is set but does nothing to the respective class...

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread parot
Natahn, Very very nearly there - just ummm not sure where to put the Year code. Other than that works perfectly in the calander I want which has a show / hide function for a form with an ajax reply - I got tha bit working perfectly, it was just using JQuery to prefect a page refresh on the month

Re: [jQuery] need help with simple jQuery problem

2010-01-19 Thread parot
Hi Rory Like you a jQuery novice, but think I can help. Though I agree there seems to be a lot of code in here/there that is not needed - plus would not validate against W3C standards e.g. take out the after the and replace your / 's with / . Anyhow here goes - and I have no dobut it ca

[jQuery] Demo site is seemingly somewhat broken

2010-01-19 Thread JohnB
It seems that the web server on the demo site is somewhat broken, I don't imagine that the "Loaded from a Dynamic HTML File" part of: http://jquery.com/demo/ajax/ should be showing the source code of a Perl script. (http://jquery.com/ demo/ajax/html.cgi) Cheers, John.

[jQuery] Selection broken in Firefox 3.5.7

2010-01-19 Thread Jeff
Hi, I have the following code to ensure at least one report checkbox is checked on my page if ($("input[type='checkbox'][checked]").size() == 0) { $("#error").css("color", "red").text("Please select at least one report."); return false; }

[jQuery] jquery iframe hide div

2010-01-19 Thread DOTS
hello these days i am also working on same and trying to hide few of the div inside the iframe of some other domain. just wanted to know can you help me with the solution. Thanks

[jQuery] Validate jquery plugin problem

2010-01-19 Thread Niagara
Hi guys, i'm using jQuery JavaScript Library v1.4 and jQuery validation plug- in 1.6 My code with jQuery validation plug-in 1.5 work correctly, but with the new version NO. The JS: $().ready(function() { $("#registrazione").validate({ submitHandler: function() {

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 2:29 PM, parot wrote: > so you could have something like > > $("button#prevMonth").click(function() { > loadMonth(--currentMonth),loadYear(--currentYear); }); Well, to handle year and month you'll want something like: var currentMonth = 1; var currentYear = 2010; function

Re: [jQuery] Multiple elements slider

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 1:39 PM, Mircea wrote: > I have one slider that have to resize font-size on 4 different > elements. At this time it works on all 4 of them (span) but I would > like to make it work for any individual element that is selected. Have your selector add/remove a class, say, "re

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread parot
Nathan, what can I say, perfect. Thanks a lot. Think I understand it, Do years automatically increment / decrease with +newYear -newYear like months so you could have something like $("button#prevMonth").click(function() { loadMonth(--currentMonth),loadYear(--currentYear); }); Nathan Klatt-2 w

Re: [jQuery] (Validate) Checking once an Entry is Change

2010-01-19 Thread Nathan Klatt
On Sat, Jan 16, 2010 at 6:42 PM, Scott Wilcox wrote: > Pastebin of code: http://pastebin.com/ma643a4e Hiya Scott, What's the code at the other end look like - i.e., /api/check/existac? Nathan

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 1:45 PM, parot wrote: > I want to scroll back and forward through the months on a calendar without > refreshing the page. I have the php calendar, but I don't want any page > refresh which I can do with PHP and just send the GET to the page.  so > ideally what I need is 2 l

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread parot
Hi Nathan http://www.websequencediagrams.com - now I'm "really confused" I think I understand it but but let me explain I want to scroll back and forward through the months on a calendar without refreshing the page. I have the php calendar, but I don't want any page refresh which I can do with

Re: [jQuery] Find text. Is this possible with JQuery?

2010-01-19 Thread David Statler
If you're talking about simple find & replace, you can do it with javascript. http://www.w3schools.com/jsref/jsref_replace.asp On Tue, Jan 19, 2010 at 2:38 PM, shapper wrote: > Hello, > > Is it possible with JQuery to find all words "xyz" in a text and > replace it by "xyz"? > > Thanks, > Mig

Re: [jQuery] Lists, Filtering and Searching, Oh My!

2010-01-19 Thread Randall Morgan
Would it not be better to provide a server side script such as php or asp to allow a paged, sorted, ajax call. Even if you put all this data in an access database or xml file the server side script can parse and return a small chuck of data reasonably fast. At 1800 records I'd opt for a database w

[jQuery] Multiple elements slider

2010-01-19 Thread Mircea
Hi, I have one slider that have to resize font-size on 4 different elements. At this time it works on all 4 of them (span) but I would like to make it work for any individual element that is selected. If I select one element the slider should resize only that one. My slider code is: // Fo

[jQuery] Find text. Is this possible with JQuery?

2010-01-19 Thread shapper
Hello, Is it possible with JQuery to find all words "xyz" in a text and replace it by "xyz"? Thanks, Miguel

Re: [jQuery] Re: JQuery and AJAX Heartbeat question

2010-01-19 Thread brian
Whoops. I guess this bit of info from the manual is pertinent: Warning This function has no effect when PHP is running in safe mode. There is no workaround other than turning off safe mode or changing the time limit in the php.ini. On Tue, Jan 19, 2010 at 4:44 AM, mind01 wrote: > Thanks for yo

Re: [jQuery] Lists, Filtering and Searching, Oh My!

2010-01-19 Thread John Arrowwood
json is one approach. XML is another. CSV works, too. The format of the file should be what works best for the people that need to maintain it. Then, you need to find a good way of getting that data into the browser and in a format that is easy to work with. How often does this file change? Is

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 11:32 AM, parot wrote: > Very near, but it is more basic than that - how do I get the variable > ?trythis="changable value" into var trythis=""; Maybe a sequence diagram would be helpful. Here's what I hear you asking: http://www.websequencediagrams.com/?lz=bm90ZSBsZWZ0IG

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread parot
Thnks Nathan, Very near, but it is more basic than that - how do I get the variable ?trythis="changable value" into var trythis=""; Sounds silly and quiet simpel, but can I get a "plain" english answer - no Thanks for your reply Nathan Klatt-2 wrote: > > On Tue, Jan 19, 2010 at 11:06 AM, pa

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 11:06 AM, parot wrote: > What I cannot do and I do not seem to get a sensible, easy to follow and > understandable answer from knowledgeable JQuery people is find out how to > pass the valiable trythis to the page tryit.php and then return the result, > in this case a simpl

[jQuery] Simplae JQuery/Ajax question - GET variables

2010-01-19 Thread parot
I am very (very) used to PHP but just trying to grips with JQuery/Ajax and this is a very simple problem that I cannot find an easy - & understandable answer to especially one that works - strange I know. My experience is that all answers to this question - on another site - are too complex and t

Re: [jQuery] JQuery Trigger Event

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 10:03 AM, Asharudeen wrote: > Unfortunately, It seems trigger is not a issue.. I am trying to list dynamic > file tree using JQuery. It seems to be work fine in Firefox. But in IE, it > has not working.. I thought it is related to trigger event. It might be worthwhile for

Re: [jQuery] need help with simple jQuery problem

2010-01-19 Thread Nathan Klatt
That seems like a lot of code for something so simple. Why don't you just follow the example from the docs: http://docs.jquery.com/Effects/slideToggle#speedcallback ? Nathan

Re: [jQuery] [mcDropdown] Enhancement Request

2010-01-19 Thread Dan G. Switzer, II
There's no need to add this to the code. You can just place the wrapper in the actual HTML and apply whatever CSS you need specific to the instance of the mcDropdown. -Dan On Mon, Jan 18, 2010 at 4:21 PM, Jerry wrote: > Howdy... > > The GivaInc.com site says that the devs monitor this list for

Re: [jQuery] new forums used?

2010-01-19 Thread Cesar Sanz
In my case, I just have access to my email via outlook (cuz of my job).. it will be a shame not to read, ask or contribute with you. - Original Message - From: "Rick Faircloth" To: Sent: Monday, January 18, 2010 12:17 PM Subject: RE: [jQuery] new forums used? it is easier to use

[jQuery] Re: jQuery for DoD web hosting

2010-01-19 Thread justintr
Wouldn't this apply to any Ajax functions in any JS framework? Rey, how do you suppose they are billing this as a potential security hole for unauthorized access? I just don't see it. I was really hoping Chris would contact me. On Jan 14, 4:51 pm, Rey Bango wrote: > Hey Chris, > > I understand. U

[jQuery] Re: checking if jquery loaded

2010-01-19 Thread zendog74
I ended up solving this problem by using the lazy load method described here: http://www.squidoo.com/load-jQuery-dynamically I think the loadPlugins() function was being called before jQuery had a chance to fully load, thus causing the errors. On Jan 15, 12:08 pm, Nalum wrote: > Hello zendog74

[jQuery] need help with simple jQuery problem

2010-01-19 Thread Rory Bernstein
Hello, I am a total jQuery novice, and I tried to use jQuery for a project but I'm having trouble. http://www.rorybernstein.com/stage/index2.html When you click the blue "go ahead" link, it expands the hidden div, revealing content. I want the effect to be a "slide" effect, as on this sample pag

[jQuery] Superfish - Horizontal and vertical superfish menus on the same page

2010-01-19 Thread pier.m...@gmail.com
Hi! can someone please tell me how to change the css so that a horizontal and a vertical superfish menus can coexist on the same page without interfering? I will use a Joomla extension module for this. Best regards, Pier

Re: [jQuery] JQuery Trigger Event

2010-01-19 Thread Asharudeen
hi Thanks for your reply.. Unfortunately, It seems trigger is not a issue.. I am trying to list dynamic file tree using JQuery. It seems to be work fine in Firefox. But in IE, it has not working.. I thought it is related to trigger event. Later I understand, it is related to some what different.

Re: [jQuery] Validator plugin class="cancel" not working when submit called from script

2010-01-19 Thread Jörn Zaefferer
Try .click() instead of .submit(). Jörn On Tue, Jan 19, 2010 at 3:04 AM, Flying Duck wrote: > When the user clicks on an input button where "cancel" is added to the > class attribute, the form submits as expected, but when the the input > button is submitted by script like this, $("input > [nam

[jQuery] [autocomplete] Bug Reported with no response.

2010-01-19 Thread Andy M
I submitted a bug, as requested, to the jQuery bugtracker over a year ago. The bug was validated and assigned to Joern but has since sat untouched for over a year. The defect is at http://dev.jquery.com/ticket/3719. I tested against the latest version and this bug is still there. Anybody know if

[jQuery] Baseline issues with Lazyload

2010-01-19 Thread estevan
Hi I'm new here, Does anyone here have experience using the Js Baseline Image fix (http://code.google.com/p/js-fix-image-baseline/) with the Lazyload plugin (http://www.appelsiini.net/projects/lazyload)? I'm currently utilizing a CSS grid system with the baseline fix but lazyload disrupts it. Do

Re: [jQuery] Reduce Image Quality

2010-01-19 Thread Michael Kubler
Thanks for that, Uploadify is exactly what I was looking for! -- Michael Kubler *G*rey *P*hoenix *P*roductions Mobile : 0433483008 I believe in a better world. I support the Zeitgeist Movement . German Bor

Re: [jQuery] Re: jQuery 1.4 change event problem

2010-01-19 Thread Bruno Santos
Indeed, the problem is related to the selected option not to the be the first one, on the first time the object is *clicked*. The problem is not exactly the "selected" parameter written on the body, but the currently selected option in runtime. To verify that, just add an onload event to body, and

[jQuery] (validate) Select List

2010-01-19 Thread MarketAgent 007
I'm new to jQuery. I would love some help with the following. I'm using the validator plugin. Here is a description of what I'm trying to validate. Step 1 (required): Select Vehicle Make. Chevy Ford Other Step 2a: (this is required if select is "Chevy" or "Ford"): If Chevy or Ford

[jQuery] (validate) Compatability with jQuery 1.4?

2010-01-19 Thread Anthony
Hi all, We're planning on using Jörn Zaefferer's 'validate' plugin and wondered if anyone knows if it is compatible with jQuery 1.4? Be very intereseted to find out. Many thanks. Anthony.

[jQuery] Autocomplete plugin compatability with jQuery 1.4?

2010-01-19 Thread Anthony Rayner
Hi all, We're using Jörn Zaefferer's awesome 'Autocomplete' plugin and wondered if anyone knows if it is compatible with jQuery 1.4? Be very intereseted to find out. Many thanks. Anthony.

[jQuery] How to change the text appearing blockOverlay

2010-01-19 Thread Sullan
Hi All, I'm using this block UI to show loading screenwhen navigating between pages.. the problem i face is, the message 'Please wait' is coming from "jquery.blockUI.js". Is there any way that i can pass this message from the HTML file to blockUI function or some other way to directly get the m

[jQuery] Validator plugin class="cancel" not working when submit called from script

2010-01-19 Thread Flying Duck
When the user clicks on an input button where "cancel" is added to the class attribute, the form submits as expected, but when the the input button is submitted by script like this, $("input [name='Btn_Cancel']").submit(), then the validation fires as if the class="cancel" is not there. Any idea w

[jQuery] Setting Attributes and filter them

2010-01-19 Thread Mircea
Hi, I want to make something that will do the following: Have 5 elements, each element with its own Attributes - font-size, color, font-style, markup (span, li, b,...) When an element is selected to have an if statement that will open a new panel. I am thinking at something like this: Set element

[jQuery] Re: UNSUSCRIBE

2010-01-19 Thread MorningZ
You click on "Edit my membership" options on the right and then go to the email options "No email" On Jan 19, 6:27 am, Juan Ignacio Borda wrote: > unsuscribe > >  juanignacioborda.vcf > < 1KViewDownload

Re: [jQuery] Re: jQuery 1.4 change event problem

2010-01-19 Thread David Statler
I made a quick mock up of this to try to find the problem. As you have both stated, the problem only occurs in IE (I only tried it on IE6). However, I rewrote the following and this works on IE6. The problem seems to occur when you add selected="selected" to the second option value. http://www.w3

[jQuery] Lists, Filtering and Searching, Oh My!

2010-01-19 Thread david.vansc...@gmail.com
A while back, the company I work for tasked me with coming up with a better way to move through a listing of forms on our Intranet. The way it was done before involved two identical files being maintained simultaneously, one sorted by the form ID (AA0001) and the other by name. The list of forms

[jQuery] Multilevel navigation error

2010-01-19 Thread test11
Hi I am using superfish component for multilevel navigation menu. I have successfully implemented it. but i got a small problem. When my website opened for the first time, it is showing all the menu links until the page loads completely in internet explorer. here is my site www.makrohealth.com.

[jQuery] UNSUSCRIBE

2010-01-19 Thread Juan Ignacio Borda
unsuscribe <>

[jQuery] Re: JQuery and AJAX Heartbeat question

2010-01-19 Thread Scott Sauyet
On Jan 19, 4:44 am, mind01 wrote: > If i try set_time_limit(20); it gives me an 500 error after 20 > seconds, but if i set the value to 60 seconds, i still get a server > time out after 30 seconds. If you're in control of the php.ini file, there is almost certainly a setting in there you can use.

[jQuery] Re: jQuery 1.4 change event problem

2010-01-19 Thread pambuk
Same here, would love to hear an answer. On Jan 19, 11:00 am, Steven Yang wrote: > Hi all > > I apologize if this problem has been post or report. > > I have a problem using jQuery 1.4 when i use > $("#mySelect").change(function(){...my logic...}) > > This problem only occurs in IE. 6-8 all have

[jQuery] jQuery 1.4 change event problem

2010-01-19 Thread Steven Yang
Hi all I apologize if this problem has been post or report. I have a problem using jQuery 1.4 when i use $("#mySelect").change(function(){...my logic...}) This problem only occurs in IE. 6-8 all have the same problem and jQuery 1.3.2 does not have this problem. This problem occurs when I bind a

[jQuery] Re: JQuery and AJAX Heartbeat question

2010-01-19 Thread mind01
Thanks for your tips brian and scott. > set_time_limit(0); > > The expected value is integer seconds. A value of 0 disables the time > limit altogether. If i try set_time_limit(20); it gives me an 500 error after 20 seconds, but if i set the value to 60 seconds, i still get a server time out afte

[jQuery] Re: Simple .html problem in 1.4

2010-01-19 Thread seasoup
What does the responseText look like? On Jan 18, 7:58 pm, Bruce MacKay wrote: > Hi folks, > > The following function works fine in jQ1.3, but not in jQ1.4 > > function getArchive(pID){ >      $.get("scripts/ajax_editor.asp?id=getArc&epID="+pID+"&q=" + new > Date().getTime(), >      function(r

[jQuery] Re: selected accordion background

2010-01-19 Thread spiderling
Thank you very much!! Works perfectly. Pasquale. On Jan 18, 12:31 pm, Nathan Klatt wrote: > Pasquale, > > Looks like it no longer sets the class to selected for you; just gotta > do it yourself. > > > > On Mon, Jan 18, 2010 at 12:31 PM, spiderling wrote: > > bump :-) > > > On Jan 15, 7:13 pm,