[jQuery] logic help
Guys and gals, I am working on something that requires a person be able to click in an area and create a hot area. Here is a link to you can understand (http://ov.informationexperts.com/test.htm) The problem that i have is how do I sort a multidimensional array so that if a person clicks on four or more points that it makes a square or polygon and not an 8. To better illustrate what I am talking about, go to the link above and click in the grey box (in firefox with firebug you will get messeges logged
[jQuery] login help
Guys and gals, I am working on something that requires a person be able to click in an area and create a hot area. Here is a link to you can understand (http://ov.informationexperts.com/test.htm) The problem that i have is how do I sort a multidimensional array so that if a person clicks on four or more points that it makes a square or polygon and not an 8. To better illustrate what I am talking about, go to the link above and click in the grey box (in firefox with firebug you will get messeges logged
[jQuery] Trivial typo in docs
I found an error in the docs, and checked the SVN version to see if it had been fixed already. It had been, but while there, I found a trivial typo in the same area: <a href="http://jquery.com/dev/svn/trunk/jquery/src/ajax/ajax.js#L478"> http://jquery.com/dev/svn/trunk/jquery/src/ajax/ajax.js#L478</a> Wheather is whether, at least in American: <a href="http://wsu.edu/~brians/errors/weather.html">http://wsu.edu/~brians/errors/weather.html</a> --Erik _______________________________________________
[jQuery] [Interface Elements] onChange callback BROKEN is sortables
Hi Paul
[jQuery] Problem with .load() in Firefox
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Trebuchet MS">Hi, I am trying to get some html content to load into a div when a hyperlink is clicked. The code I have is very simple and works perfectly in IE7, but no matter what I do I can't get Firefox to use the load() function. The code is below: <HTML> <HEAD> <TITLE> Document </TITLE>
[jQuery] xml response with $.get()
Hello there, This may sound like a dumb question, but somehow I can't figure it out: Let's say we have a basic xml file and a simple piece of code: <?xml version="1.0"?> <foo> <title>This was loaded from an external XML file.</title> </foo> $.get("ajax-test.xml",function(xml){ alert( $("title",xml).text() ); }); This only works when put directly in $(document).ready(function() { }. I can't receive any response using events (click etc.) Firebug console notices a GET response as long as alert window
[jQuery] jQuery powered shopping site
Hiya folks, Thought I'd take a few minutes to ask for feedback on my jQuery powered Amazon API-based website, http://www.cyberscoreshop.co.uk/ It uses jQ itself for some AJAX stuff to add products to the shopcart in the background, my pngFix extension to correct some image issues in IE, Thickbox (Cody) for enlarged product images, and the tabs (Klaus) and accordion (Jörn) plugins on the product page to provide different pieces of information and a nice way to flick through reviews. The design itself
[jQuery] modalContent plugin is not modal
(From ticket #501: http://jquery.com/dev/bugs/bug/501/) I've demonstrated this in IE 7 and FF 1.5. There are 2 issues that violate modality: 1) The page elements are still keyboard traversable. This is a big problem because users can invoke any of the controls that accept keyboard events by tabbing to them to obtain input focus. 2) If you are on a page that is taller than the viewport (requires vertical scrolling), the modal overlay does not extend to the bottom of the page - it only covers what's
[jQuery] Cross-browser list of keyboard shortcuts?
Hi jQuerians, I just started using Firefox 2, and something happened which got me thinking: alt-s (at least on Linux) now opens a "History" tab in the tool bar. Nothing wrong with that, of course, but it happens to overlap with a key comination I've been using in an app. So what I was thinking was, information about which key combinations are assigned by default in which browser would be useful. Perhaps this info exists somewhere already (anyone have a link?), but if not, maybe we could work together
[jQuery] Resetting a form/general floundering
<html> <body> Hello folks, Please excuse this longish post but I'm seriously confused. I'm building a quiz editor. I have form (#nLinkForm) which is loaded with the page and a submit function bound to it. Once the user has selected the type of quiz, an appropriate set of input elements (text, textarea, checkbox) is loaded into a div (#aqs) within "nLinkForm" via an AJAX call. The questions/answers entered into these elements are correctly send to the server when the form is submitted. My problem
[jQuery] Masked Phone Number Input
I have a Proof of Concept for a masked phone number input. Tested in FF & IE. It utilizes four seperate input fields but still allows for using the arrow keys, home, end and backspace across all of them. Current limitations are copy & pasting. Thoughts/feedback welcome! <a href="http://jdsharp.us/code/PhoneNumber/">http://jdsharp.us/code/PhoneNumber/</a> (It isn't linked from elsewhere on the site as I haven't "released it to the world" yet) Cheers, -Jonathan _______________________________________________
[jQuery] Masked Phone Number Input
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=734255721-20122006><FONT face=Arial color=#0000ff size=2>Nice plugin. If you're going to release this, you might consider also allowing formatting for credit card numbers, social security numbers and all that good stuff.</FONT></SPAN></DIV> <DIV><SPAN class=734255721-20122006><FONT
[jQuery] Cannot retrieve $.post( ) response
Hi, I'm trying to use an ajax post request and not sure why is not working. Code in a button: $.post( "HTMLTestPage.htm", { employeeID: "007", requestType: "R" }, function(xml){ alert( xml ); alert( "BankName = " + $("#BankName", xml).val() ); } ); The 'HTMLTestPage.html' is an html page (not xml). When I click on the button the first alert returns the whole page and I can see the source code, id=BankName and value for the field,
[jQuery] Autocomplete IDE WAS New design on jquery.com
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=484580918-20122006><FONT face=Arial color=#0000ff size=2>Let's change the subject line shall we?</FONT></SPAN></DIV> <DIV> </DIV> <P><FONT size=2><!----------------//------<BR>andy matthews<BR>web developer<BR>certified advanced coldfusion programmer<BR>ICGLink, Inc.<BR>andy@icglink.com<BR>615.370.1530
[jQuery] possible stupid question re: dimensions plugin
Are the functions in the dimensions plugin the same as the functions in the default jquery build? ie. height, width.... -- View this message in context: http://www.nabble.com/possible-stupid-question-re%3A-dimensions-plugin-tf2860567.html#a7992532 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] New design on jquery.com
> Is there native jQuery autocompletition support within
[jQuery] scrolling effect
On 12/20/06, Brian Smith <brian@n2solvingproblems.com>
[jQuery] possible stupid question re: dimensions plugin
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of bmsterling Subject: [jQuery] possible stupid question re: dimensions plugin Are the functions in the dimensions plugin the same as the functions in the default jquery build? ie. height, width.... ----- .height() and .width() are overwritten by dimensions.js with some added functionality that allows for getting the height/width of the document or window. -ALEX _______________________________________________ jQuery mailing
[jQuery] 1.0.4 breaks sort (w/ fix)
The "sort plugin" <<a href="http://jquery.com/dev/bugs/bug/255/">http://jquery.com/dev/bugs/bug/255/</a>> breaks in jQuery 1.0.4 with the following error: second argument to Function.prototype.apply must be an array Down in set(), called from pushStack. Apparently, the array returned from apply isn't array enough to pass into apply down in set. I fixed it by wrapping the sort.apply() with merge: jQuery.fn.sort = function() { return this.pushStack( jQuery.merge( [].sort.apply( this, arguments ),
[jQuery] Masked Phone Number Input
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Jonathan Sharp Subject: [jQuery] Masked Phone Number Input I have a Proof of Concept for a masked phone number input. Tested in FF & IE. It utilizes four seperate input fields but still allows for using the arrow keys, home, end and backspace across all of them. Current limitations are copy & pasting. Thoughts/feedback welcome! http://jdsharp.us/code/PhoneNumber/ (It isn't linked from elsewhere on the site as I
[jQuery] Fast way to remove duplicate array entries?
Anyone know of a fast way to remove dups in an array? Thanks! Rich _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] scrolling effect
Hi, I love jquery so far, just learning. I'm trying to develop a scrolling effect, to scroll a list of news headlines inside a div tag. I'm sure I probably should be adjusting the clip region, I just can't figure out how to do it. Anyone know how, or has someone done this? Brian _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Odd clone bug
I've since changed my code. I used Divs instead of tables and didn't have this problem. And I don't use thead tags. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Dave Methvin Sent: Wednesday, December 20, 2006 8:58 AM To: 'jQuery Discussion.' Subject: Re: [jQuery] Odd
[jQuery] Odd clone bug
> When I "Viewed Generated Source" in Firefox (because
[jQuery] Odd clone bug
I've since changed the code on my sample page, but I found an odd bug in jQuery using a combination of clone() and appendTo() that I wanted to put out there. I had a table with 4 columns that I was using for a form entry. Then I created a "template" row that was hidden. When the use entered data from the form, I then cloned the template row, appended it to the original form/table and filled the data in getting the values from the form. It looked something like this (before). <table cellpadding="0"
[jQuery] New design on jquery.com
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=812192014-20122006><FONT face=Arial color=#0000ff size=2>Right...</FONT></SPAN></DIV> <DIV><SPAN class=812192014-20122006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=812192014-20122006><FONT face=Arial color=#0000ff size=2>My IE as well.
[jQuery] performance issues in IE
> Did you perhaps mean filter() instead of select()? Yep, I meant filter(), thanks for the catch. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] xmlExec - sanitized output
This is probably a noob question. I am using jquery, with the form plugin to submit information, and the xmlExec plugin to handle responses. As far as I can tell, the form plugin works, and the xmlExec receives and deals with an xml file. It all seems to work, but what gets displayed on my screen has been sanitized - amper-less-than-semicolon and amper-greater-than-semicolon instead of <>. I see what looks like source html displayed, instead of properly-displayed markup. It's not useful, and I can't
[jQuery] jquery autocomplete and mysql
Hi, let me apologize, as I'm a noob, and I have no extensive knowledge as a programmer. I just discovered jQuery and the Autocomplete plugin (Interface & Dyve) and i could really use it. to be honest it's exactly what I was waiting for!!! I have a list of countries and informations related in a MySQL db and I would like to understand how I could connect the autocomplete plugin to this DB. Any help would be greatly appreciated ;) I understand that I should export the column I wish to see in autocomplete
[jQuery] events on cloned objects?
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 10"> <meta name=Originator content="Microsoft Word 10"> <link rel=File-List href="cid:filelist.xml@01C7245B.ACCD7B80"> <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings>
[jQuery] performance issues in IE
Hello, I'm writing a function in a global script that will apply focus to the first visible enabled form field on a page. I'm using the following jQuery expression to find the control: $('#mainContent :input:visible:not(:checkbox):not(:button):not(:submit):not(:image):not([@disabled]):first') This works exactly as expected, but unfortunately it's quite slow in IE 7 when there is a fairly large amount of HTML (about 12 seconds on a page that contains 2 select lists with several hundred options each).
[jQuery] events on cloned objects?
I have a table with several rows but a single column, each cell in this column has a class "X". One of the cells (the last row) has a "click" event, when clicked, it just prints a log statement (confirmation that it received the event). In my $(document).ready... function, I clone the single column to create two more rows (basically the column with class "X" is the template column). I expect that whenever I click on the cell with the "Click" event...or ANY OF ITS CLONES in the newly created columns,
[jQuery] FF class manipulation--possible bug
As I've mentioned here before, I'm working on a drag-and-drop file manager right now. In Firefox, I'm getting a lot of class="undefined" (or class="droppable selectable name undefined") nodes in the DOM source after a few drag and drop operations. (They should be "droppable selectable name", plus a hoverclass.) My guess is that this is happening on line 152 in idrop.js. Before I file this as a bug report, is anyone else experiencing this? -- View this message in context: http://www.nabble.com/FF-class-manipulation--possible-bug-tf2847436.html#a7951868
[jQuery] Cursor position inside of textfield / textarea?
Is it possible to get the current cursor offset in a text field? For example "Hello world" if the cursor is between the "H" and "e" could I somehow get the offset of "1"? -js _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQ spotted in some HAWT Mailing List Software
jQuerians, This past month I have focused on rewriting the entirety of poMMo (GPL PHP Mailing List Software). jQuery has become the base library for template files, and a unique interface has been born. This would never have been possible without jQuery, the great minds of this forum (err mailing list!), and all you jQ plugin authors -- my deepest regards to all of you. While I don't consider this yet "finished" (when is something ever finished?), it is certainly preview-able if not damn near usable
[jQuery] jquery session handling versus PHP
Currently I use PHP's built in session functions to handle ensuring users are logged in, etc. It doesn't work correctly a small percentage of the time, but is robust as far as being able to use the $_SESSION array and other such things. Now that I'm starting to use a bunch of jquery stuff, I'm interested in knowing if there's anything comparable. I haaaaate troubleshooting why sessions aren't working so I'd like something more reliable. I noticed there's a cookie plugin for jquery but it seems to
[jQuery] Help with arrow key navigation
hello all, definately need to start this post off with the "I'm a jquery newbie" statement..... I'm trying to put together a quick search function that alllows for keyboard navigation. Here is an example: http://brilliantretail.com/cases/filter/qs.php Search Example (Try searching for "dexter") Once the result set is displayed I would like to be able to arrow down to the desired row. Any help getting me on the right track with how to do this with jquery would be MUCH appreciated! Thanks, David Dexter
[jQuery] Writing Efficient Plugins
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">When writing plugins, in general, when should I use jquery functions over standard javascript? (Sorry that question expose my ignorance.) I wondering when I should use a this.each in favor of a standard loop statement, or when to use getElementById instead of the dollar function? My worry is that referencing these functions has some overhead
[jQuery] New design on jquery.com
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link,
[jQuery] Question about remove();
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Dave Methvin Subject: Re: [jQuery] Question about remove(); If you append to multiple targets (e.g., ".stockings" selects multiple elements) , the original elements are cloned before being appended to each target so the original elements would stay in their old place unless you remove()d them. If you're _not sure_ whether .stockings is going to select multiple nodes, you should use remove() to make sure the .lumpsOfCoal
Next Page