[jQuery] Simple jQuery question

2009-11-23 Thread Julesfrog
Hi! I'm new here and also pretty bad at writing javascript. I'm using a snippet of code by Lloyd Irvin (http://agyuku.net/2009/05/back-to-top- link-using-jquery/) that allows the user to scroll back to the top of the page by clicking on a fixed button that fades in only when you begin scrolling

[jQuery] SlickGrid updates

2009-11-23 Thread Tin
Lots of changes in this one: - Updated jQueryUI to 1.7.2. - Updated jQueryUI theme. - Started putting preliminary support for jQueryUI themes CSS framework. - Removed unminified library files. - New option in SlickGrid: leaveRoomForNewRows. False by default (a change from the previous version).

Re: [jQuery] Write jQuery Data

2009-11-23 Thread Michel Belleville
The jQuery way uses this method : http://docs.jquery.com/Data Another is to hide an html element that holds your data, but you'll probably like .data() better. Michel Belleville 2009/11/22 Niche bjorn@gmail.com I have 2 servers, a front end and a backend. I cannot execute server side

[jQuery] insert date in a table

2009-11-23 Thread Alfredo Alessandrini
Hi, I need to insert the time in a table like this: script type=text/javascript var Date=new Date(); jQuery(document).ready(function(){ $(p).click( function() { $(#time_table).append(trtd,document.write(new Date()),/td/tr); } ); }); /script but

Re: [jQuery] Problem with lock of browser after $.ajax call

2009-11-23 Thread Michel Belleville
Could you provide an url to the page or something so we can help diagnose ? Michel Belleville 2009/11/21 Michael Holm Kristensen holl...@gmail.com Hi, I have a problem with some of my jquery code.. i will make this short an straight ahead. What i want is: 1. page that will print a

Re: [jQuery] insert date in a table

2009-11-23 Thread Dhruva Sagar
This is how the code should be in my knowledge : script type=text/javascript var Date=new Date(); jQuery(document).ready(function(){ $(p).click( function() { $(#time_table).append(trtd + new Date().toString() + /td/tr); }); });

[jQuery] Re: is this legal acording to the jQuery licence

2009-11-23 Thread Dimitar
Can anyone answer on this? On Nov 19, 4:11 pm, Dimitar Velkov dimitar.vel...@gmail.com wrote: Hello, I need to use jQuery lib in a script that will be included in my clients sites. My script will be included last  in the body of a html page, and jQuery lib will be included dynamically from my

[jQuery] Re: Problem with plugins

2009-11-23 Thread Paulodemoc
Its the javasscript on the php page, and the only php there is to output the urls, and these urls are being printed correctly The url doesn't affect the understanding of the rest of the code... On Nov 19, 3:08 pm, Michael Geary m...@mg.to wrote: Can you post a link to a test page? It's

Re: [jQuery] Re: is this legal acording to the jQuery licence

2009-11-23 Thread Richard D. Worth
See http://groups.google.com/group/jquery-en/browse_thread/thread/2ab7ba203fc3267f - Richard On Mon, Nov 23, 2009 at 5:52 AM, Dimitar dimitar.vel...@gmail.com wrote: Can anyone answer on this? On Nov 19, 4:11 pm, Dimitar Velkov dimitar.vel...@gmail.com wrote: Hello, I need to use jQuery

Re: [jQuery] Re: Problem with plugins

2009-11-23 Thread Michel Belleville
First of all, if this is a .js script, why is there html in the first few lines ? Michel Belleville 2009/11/23 Paulodemoc paulode...@gmail.com Its the javasscript on the php page, and the only php there is to output the urls, and these urls are being printed correctly The url doesn't

[jQuery] Values from datatable to generate ul, li

2009-11-23 Thread CreativeMind
hi all! i m using treeview of jquery.. if i provide the formatted html like ul,li,ul,li,/li,/ul,/li,/ul, the plugin works perfect. now i don't have ul,li rather, i've a datatable or collection which contains fields Id,name,parentId,depthlevel how can i generate ul,li list from these fields or is

[jQuery] [autocomplete] how to shorten the dropdown??

2009-11-23 Thread GoogleAccount
i am trying to shorten the result div. how do you do this. i want it to be the same size as the input box, not 3 times as big. :-)

Re: [jQuery] Looking after dropdown menu like's Superfish with RTL support

2009-11-23 Thread Chad Kieffer
Nitsan Bin-Nun wrote: The problem is that I couldn't turn Superfish into RTL view (so the submenus will be open in the left side of the main menu instead of the left of it). Does anyone have experience with this? Someone can suggest me a solution? I'm running after a solution for like

[jQuery] I want join this group

2009-11-23 Thread Miccel
Hi guys: I would like to join see group. To learn jquery

[jQuery] Re: jQuery Opacity functions doing strange things to 1px semi-transparent png background

2009-11-23 Thread Dustan
I hope you've found an appropriate answer as this is from a while back, but I'll still post what I have found so some other searching soul someday may stumble across this. I've suffered from this same problem as well. The result looks similar to the following http://ow.ly/E1xV There is supposed to

[jQuery] jquery help

2009-11-23 Thread shobhit
sir i am facing problem while using jquery: i have two different .js file both r include in one page and having same type of function like function() so they r not working at same time... plz help me out of this problem .. thanx in advance

[jQuery] Re: JQuery and ColdFusion

2009-11-23 Thread Prashant
Hi, in your following statement: window.location.href = 'index.cfm?fuseaction=myapp.home'; if you try the full path OR relative url of index.cfm then i guess your problem would get solved. e.g. window.location.href = 'index.cfm?fuseaction=myapp.home'; thanks Prashant On Nov 20, 12:28 pm,

[jQuery] Sorting spans which are in li elements.

2009-11-23 Thread javam.org
Hi there, My xhtml structure looks like: div id=aaa div class=menu span class=s1Name/span span class=s2Remaining Time/span span class=s3Status/span /div div class=values ul id =list li

[jQuery] list bullet style

2009-11-23 Thread dnagel
Can anyone think of a snappy way to set the font to bold only on the bullet(decimal)? The content of the LI should remain font- weight:normal

[jQuery] (validate) $.format() abnormalities

2009-11-23 Thread mahdoum
Hello, I'm using the following string as an error message when a username is already taken remote: $.format({0} already exists) I am also using keyup validation. The problem is if a user types test in the username field (username is already taken) then the message test already exists comes up.

[jQuery] dialog partial content not visible in IE7

2009-11-23 Thread Bill
I have a jQuery dialog where some of the content does not display initially in IE7. When I mouse over the dialog, the content appears. This problem does not seem to occur in IE8 or other browsers (FF, Safari, Chrome). He is a link to the (test) site. If you click on the login link in IE7, three

[jQuery] Re: is this legal acording to the jQuery licence

2009-11-23 Thread Danco Dimovski
bump

[jQuery] Bind select change event in IE7 ... NOT!

2009-11-23 Thread EasterHay
I'm dynamically generating a select element and using jQuey's load() command to replace the content of an HTML div. I then chain the bind for the change event to the load() command and everything works fine in FF, but not IE7 (IE never fires the event). If I bind a click event as opposed to a

[jQuery] Slow-loading jCarousel

2009-11-23 Thread Aaron
I'm currently working on a site for a client who requested the jCarousel script. I didn't have any trouble getting it to work... however, it seems like the script hesitates before it loads. (You can see the li bullets and all of the images before it snaps into place.) Here's the test site:

[jQuery] Overlay with image

2009-11-23 Thread jakvike
Can BlockUI have an overlay with an image?

[jQuery] trouble with iframe and form elements, bgiframe, jkmegamenu

2009-11-23 Thread VANOLE, MICHAEL J (ATTSI)
Greetings, I am Working with IE6. I am conditionally, dynamically creating an iframe and populating it with an external site. One site I'm loading is a cgi with form elements that are messing up the navigation. I'm using jkmegamenu.js for my navigation. As happens with IE6 the menu opens

[jQuery] [Jquery] Sorting select drop down list with optgroup

2009-11-23 Thread mahdoum
Hello, I've got the following drop down list select size=1 id=mylist optgroup label=Label1 / option value=1A/option option value=2B/option option value=3C/option optgroup label=Label2 / option value=4AA/option option value=5BB/option option value=6DD/option /select I am trying to do two things

[jQuery] Re: Beginners problem with selectors

2009-11-23 Thread Prashant
Hi , I hope it would helpfull. html head script language=javascript src=jquery-1.3.2.min.js/script script function getLastTR() { alert($(#tbl tr:last).html()); } /script /head body table id=tbl trtdfirst tr/td/tr trtdtabletrtdII tr/td/tr/table/td/tr

Re: [jQuery] dialog partial content not visible in IE7

2009-11-23 Thread Richard D. Worth
Please post this question to the jQuery UI list: http://groups.google.com/group/jquery-ui http://groups.google.com/group/jquery-uiAlso, it would help if you could reduce this to a minimal test page that reproduces the issue. Thanks. - Richard On Sat, Nov 21, 2009 at 9:23 PM, Bill

[jQuery] Re: Values from datatable to generate ul, li

2009-11-23 Thread led
vb.net Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim cn As String = Data Source=mysqlserver;Initial Catalog=mydatabase;User ID=myuser;PWD=password Using conn As New SqlConnection(cn) Dim cmd As New

Re: [jQuery] JQuery and ColdFusion

2009-11-23 Thread Dave Evartt
I use ColdFusion and jQuery all the time with no problems. In fact, I use it with mach-ii. Looks like you're using fusebox? Just a guess. Calling the CFC directly is your problem. When you do that, it bypasses the application.cfm/cfc, which is normally where your session scope is defined.

[jQuery] How can I implement Comet (Ajax reverse) in my application?

2009-11-23 Thread Gustavo Paulino
Hi, I have an application that must be in real time. It works this way: - From a Windows software I send data to a Web Service that updates an XML file in the server. - The front end (simply html file + jquery) calls a $.ajax within a setInterval of 4 seconds. This ajax function reads the xml

[jQuery] jquery-autocomplete encoding character issue

2009-11-23 Thread Stephane
Hello, I have a problem with the encoding / decoding of Norwegian characters namely Ø turned into à This happens with the jquery-autocomplete plugin and not with the jquery load() method. That is, this : $(totalAvtaleNavn).load(suggestTotalAvtaleUrl, {q:TTTøøre}); works fine. Always. But

[jQuery] Floating Menu (Over Slideshow)

2009-11-23 Thread Zenith
I wish to know if there is a tutorial (or any help) available to recreate the same outcome as the menu shown on this site? http://www.atlantis.com/default.aspx Thanks in advance, Matt.

[jQuery] Re: Need to hide a href title content, but still need it available in the DOM

2009-11-23 Thread Dave
That worked beautifully!!! Thanks so much for teh help. Dave BTW... They call me CAPTAIN OBVIOUS!!!

[jQuery] Re: Click event outside of an element

2009-11-23 Thread Dustan
Perhaps something along these lines is what you are looking for? $(document).click(function(event) { if (!$(event.target).hasClass('classname')) { // run this code if anywhere in the document except the item is clicked } }); On Nov 20, 8:29 am, Keysher keys...@gmail.com wrote:

[jQuery] Re: (validate)

2009-11-23 Thread Enoch
Thanks for your aid. On Nov 22, 1:40 am, Tsz Ming WONG tszm...@gmail.com wrote: On Sun, Nov 22, 2009 at 11:21 AM, Enoch enochelli...@gmail.com wrote: script type=text/javascript $().ready(function() {        // validate signup form on keyup and submit        $(#regform).validate({        

[jQuery] (validate)

2009-11-23 Thread Gregory Kaidanov
I am trying to override only the showLabel function in the jquery.validate.js . I've found inheritence plugin for it. Nevertheless , I wasn't able to implement the example givven with it. Is there any way that I can reuse the jquery.validate.js without changing the original , but by overriding

[jQuery] Problem with $(document).ready in =IE7 only

2009-11-23 Thread JD
Hello everyone, I'm trying to figure out this weird error I'm seeing. I have a simple script that, after the document is ready, I want to change a CSS attribute from display:none to display:block and then load the jquery inifinite carousel plugin: script type=text/javascript language=javascript

[jQuery] Re: Problem with $(document).ready in =IE7 only

2009-11-23 Thread MorningZ
So I'm 99.9% positive it's not loading the js fast enough for the function And that would not be correct, as the browser waits for the script to be loaded... so there is no race condition to be had... Maybe it's something else in your HTML throwing off IE7, like this?

[jQuery] Re: Tablesorter date help

2009-11-23 Thread MorningZ
A topic just like this http://groups.google.com/group/jquery-en/browse_thread/thread/bafebc3906044486/bf1c587647d38e22?hl=en On Nov 20, 9:35 am, hOtTiGeR hotti...@gmail.com wrote: Hi, I'm using this plugin and need to filter the date, but am having difficulties. Do you know how I would sort

[jQuery] Re: Sorting select drop down list with optgroup

2009-11-23 Thread MorningZ
Well, you need to correct structure to start with select size=1 id=mylist optgroup label=Label1 / option value=1A/option option value=2B/option option value=3C/option /optgroup optgroup label=Label2 option value=4AA/option option value=5BB/option option

RE: [jQuery] JQuery and ColdFusion

2009-11-23 Thread Rick Faircloth
I just set my session variables in the method I'm calling via jQuery/ajax ...any reason you can think of why that would be a bad idea? Rick -Original Message- From: Dave Evartt [mailto:da...@wehali.com] Sent: Friday, November 20, 2009 4:27 PM To: jquery-en@googlegroups.com Subject: Re:

[jQuery] Re: Floating Menu (Over Slideshow)

2009-11-23 Thread Scott Sauyet
On Nov 19, 9:44 pm, Zenith matthewrow...@gmail.com wrote: I wish to know if there is a tutorial (or any help) available to recreate the same outcome as the menu shown on this site? http://www.atlantis.com/default.aspx I know of no tutorials like that. But the JS is available and

Re: [jQuery] Write jQuery Data

2009-11-23 Thread Bjorn Symister
Hi Michael, could you elaborate a bit more. I am completely lost... If I was to store the data as such ³ $(div).data(test, { first: 16, last: pizza! }); . How would I retrieve that data from a remote server using .getJSON or something similar? Thanks for your help. On 11/23/09 4:45 AM,

RE: [jQuery] I want join this group

2009-11-23 Thread Rick Faircloth
Unless there's some level of joining that I've missed, it seems that you've already joined! Welcome! :o) Rick -Original Message- From: Miccel [mailto:maohong...@gmail.com] Sent: Sunday, November 22, 2009 1:17 AM To: jQuery (English) Subject: [jQuery] I want join this group Hi guys: I

Re: [jQuery] Problem with $(document).ready in =IE7 only

2009-11-23 Thread Michael Geary
You don't need the language=javascript in the script tag; that isn't the problem. There is an extra comma at the end of the object literal in your infiniteCarousel({...}) call. See if removing that helps. Note that $(document).ready(function() { ... }); and $(function() { ... }); mean exactly

[jQuery] Re: list bullet style

2009-11-23 Thread KeeganWatkins
what do you mean by snappy? you could always just use CSS (not sure how this questions relates to jQuery or JavaScript at all) to replace the bullet with your own image: HTML: ul liList Item 1/li liList Item 2/li liList Item 3/li /ul CSS: ul li {list-style-type:none;background:transparent

[jQuery] How to detect a child window closing and then refresh current window.

2009-11-23 Thread RayJames
Hi there, I am building an LMS that launches courses in a child window that communicate back to the server through Javascript. I need to refresh the window that launches the child window after the child window is closed. The main restriction is that I can not put any additional code or even

[jQuery] jquery toggle Ie7 problem

2009-11-23 Thread Gkrusemann
hey, can somebody help me? i am a fairly new user to jquery and i have a problem with a website i've designed. This website is for a local architect and on this page i want to show a list of all his projects. If you then click on one of this links i would like the toggle to show some extra

[jQuery] ie problem modifying html.

2009-11-23 Thread m.ugues
Hallo all. I got a strange issue with IE (all versions). I have an homepage that defines an iframe. From the iframe content i modify the head to append a css in this way, http://pastie.org/711448 Then I append from the iframe a div in the parent that uses a css class in the just injected css.

[jQuery] Re: How to detect a child window closing and then refresh current window.

2009-11-23 Thread Scott Sauyet
On Nov 23, 11:32 am, RayJames cdlcollege.rayja...@gmail.com wrote: [ ... ]  I need to refresh the window that launches the child window after the child window is closed.  The main restriction is that I can not put any additional code or even touch the existing code of the child window. I

Re: [jQuery] Write jQuery Data

2009-11-23 Thread Michel Belleville
Well, to store things client-side you've already got it halfway, you know how to store stuff. Now you retrieve it the same way, except you don't pass the second parameter. var my_acorn = $('div').data('test'); Nothing tough here. (that's all in the doc I've given you anyway) Now if you wanted

Re: [jQuery] Write jQuery Data

2009-11-23 Thread Michel Belleville
Oh, and to serialize your stuff, you can use the nifty serialize method jQuery provides for the forms : http://docs.jquery.com/Ajax/serialize ; basically you input a form, it outputs a JSON string containing its data. Michel Belleville 2009/11/23 Michel Belleville michel.bellevi...@gmail.com

[jQuery] Re: (Jquery Validate) Keep getting an error in IE8

2009-11-23 Thread djseng
I'm getting this same error. Does anyone have a patch for it? On Nov 7, 9:31 pm, chobo2 howser_...@hotmail.com wrote: Hi I don't know what is going but my jqueryvalidateplugin(1.5.5) is not working and I am not sure for how long since I do most of my testing on firefox. The problem is this

[jQuery] two jajax queries conflict

2009-11-23 Thread impact
good days when i execute below codes i am getting the download .gif at #sonuc and #pass same time . i can not fix this conflict , can anybody help me thx... $(document).ready(function(){ $('#userid').keyup( function(e){ e.preventDefault(); var

[jQuery] Invalid argument jquery.min.1.3.2.js Code 0 IE7,IE8

2009-11-23 Thread LuisFernando
Check it out HTML ul lione/li litwo/li lithree/li lifour/li lifive/li /ul CSS ul{ display:block; overflow:hidden; padding:0px; margin:0px; } ul li{ list-style-type:none; float:left;

[jQuery] jcarousel scroll bug

2009-11-23 Thread gmartins
I found a bug in the scroll function of jcarousel : If the number of items is not a mutiple of the scroll parameter, then when you go back in the list, the first item is nether shown again. Ex : try a list of 6 items with visible parameter=4 and scroll parameter=4. The solution is to change

Re: [jQuery] jquery help

2009-11-23 Thread Michel Belleville
Using solely the content of your message I've deduced that : 1. you're facing a problem 2. you're using jQuery 3. something that is composed of two files containing stuff isn't doing whatever it's meant to be doing using functions and probably gizmos I've got the first and second

Re: [jQuery] Get URL from a DIV which was loaded with $.load();

2009-11-23 Thread Michel Belleville
Unless you store it you loose it. I suggest adding code in the .load() callback that'll store the url in the div. Michel Belleville 2009/11/23 tobias.br...@me.com tobias.br...@me.com Hello, is there any way to get the URL from a div which was previously loaded via $.load(); ? For example

[jQuery] Re: Get URL from a DIV which was loaded with $.load();

2009-11-23 Thread tobias.br...@me.com
Ok, i try to be more precise: I load via $.load(); a remote page containing only a html table with data. I regular reload the div with new content because i've implemented a pagination. Now i also have a delete button which deletes selected rows from this table inside my div and right after the

[jQuery] Need assist with using a selector in treeview

2009-11-23 Thread CTarp2
Hi All, I cant seem to find the right way to check for the HitArea div class. I'm using a nice piece of code found here as follows: I need to be able to know when the class name changes between hitarea expandable- hitarea and hitarea collapsable-hitarea .. All I can get to work is the hitarea*

Re: [jQuery] jquery help

2009-11-23 Thread Bjorn Symister
Thanks Michael for helping out. I have two servers. Server 1: Scripting Server ­ I have full control over this server and this is where all server side script goes. Server 2: Client Server ­ I cannot put any server side script (such as php) on this server. Only HTML, CSS, Javascript. I have to

Re: [jQuery] jquery 1.3.2 syntax error line 324 in IE6

2009-11-23 Thread Karl Swedberg
that's odd! CompanionJS is saying there is a syntax error in what is clearly a comment. Looks like that is a CompanionJS error. On Nov 22, 2009, at 10:25 PM, viperasi wrote: Thank reply. the syntax error has be found jquery-1.3.2.min.js. check the attach pic.

[jQuery] Jquery UI Tabs FX only working in one direction

2009-11-23 Thread mehstg1319
Hi Guys Just a quick one. I have a site that features a Jquery UI Tab widget within one section of an Accordion. I am having a problem with the effects on this Tab only working when navigating backwards in the list (i.e. going tab 3, tab 2, tab 1). When I run forwards through the list of tabs,

[jQuery] Re: Get URL from a DIV which was loaded with $.load();

2009-11-23 Thread Scott Sauyet
On Nov 23, 1:15 pm, tobias.br...@me.com tobias.br...@me.com wrote: Right now i've added a hidden div with the current url which i can read with jquery and reload it with $.load()... but i wonder if there is a more clever way :-) What Michel is suggesting is that you store this in the div when

[jQuery] Re: Get URL from a DIV which was loaded with $.load();

2009-11-23 Thread tobias.br...@me.com
Thanks for the reply... what i dont understand... for what do i need a callback function? Would this work ? $(#div).load(/data/sessions/15, { url: /data/sessions/15 }); and later var url = $(#div).data(url); Tobias On Nov 23, 8:06 pm, Scott Sauyet scott.sau...@gmail.com wrote: On Nov 23,

[jQuery] Re: How to detect a child window closing and then refresh current window.

2009-11-23 Thread RayJames
Thanks Scott, I will check that out and report back. Thanks. On Nov 23, 10:37 am, Scott Sauyet scott.sau...@gmail.com wrote: On Nov 23, 11:32 am, RayJames cdlcollege.rayja...@gmail.com wrote: [ ... ]  I need to refresh the window that launches the child window after the child window is

[jQuery] Re: Get URL from a DIV which was loaded with $.load();

2009-11-23 Thread tobias.br...@me.com
Ok, this code is now working for me... function() { $('#sessions-' + id).load(url, function() { $(this).data('url', url); }); } otherfunction() { $('#sessions-' + id).load(url); } Thank you very much for your help guys :-) Tobias On Nov 23, 8:33 

Re: [jQuery] jquery help

2009-11-23 Thread Michel Belleville
Good, now I know your server architecture in details. Still you forgot to mention what problem you are facing, and how it relates to jQuery. As far as I can see using your reply you're using the right method, and I don't see any error or problem you should be facing here. Michel Belleville

Re: [jQuery] Sorting spans which are in li elements.

2009-11-23 Thread Michel Belleville
I'd select the spans bearing the same class as the clicked element, pick their parent lis and put them back in order. To select elements bearing the s1 class in an the aptly named list : $('#list .s1') To pick an element's closest li : element.closest('li') To remove an element from its current

[jQuery] Re: Sorting spans which are in li elements.

2009-11-23 Thread amuhlou
My initial reaction is that your information might be more suited to a table, in which case you could use the tablesorter plugin. http://tablesorter.com/docs/ On Nov 21, 5:58 pm, javam.org alt...@gmail.com wrote: Hi there, My xhtml structure looks like: div id=aaa         div class=menu  

Re: [jQuery] Re: Sorting spans which are in li elements.

2009-11-23 Thread Michel Belleville
Indeed here's a typical example where a table would fit, and a definetly a table sorter plugin. Though I don't know how much latitude he has depending on the expected styling and wether he's allowed to change html code. Michel Belleville 2009/11/23 amuhlou amysch...@gmail.com My initial

[jQuery] Where to place my code on AJAX calls

2009-11-23 Thread Rockinelle
I am jumping into ajax with Jquery and I have what I think is an easy question. I have successfully used jquery load to bring an external php doc into my page. That page has a form on it where I want to use jquery to reload that external page to reload with ajax when the form is submitted. What I

Re: [jQuery] Where to place my code on AJAX calls

2009-11-23 Thread Michel Belleville
Welcome to the unobtrusive philosophy : http://simonwillison.net/static/2008/xtech/ This is somewhat big to take in one big gulp but I promise you will greatly benefit from reading this right now before you try to use jQuery and AJAX in a messier way and find it hard and not rewarding. Kind

[jQuery] Close popup (div) when clicked outside the div

2009-11-23 Thread Dexter
Hi, I have a div which appears when a textbox gets focus. DIV has n number of textboxes. I want to say display:none when a user Clicks anywhere in the window. Div should not close if the user is switching between textboxes. All these jquery plugins, say the calendar control closes if user clicks

[jQuery] jQuery Ajax BlockUI Database

2009-11-23 Thread Troy Sartain
While searching around I have seen plenty of examples where people query a database and use BlockUI to put up a wait message. When the ajax completes, unblock and display the results. I'm trying to do something a little different. I would like to query a database and use the results as the message

[jQuery] Selecting elements loaded from an AJAX call

2009-11-23 Thread Keighl
I need some help with jQuery theory. Why can't I select an element that has been loaded through an AJAX call? For instance, I'll load table.php that renders like this: table tr td1/td tda id=fooFoo/a/td /tr /table I make the ajax call to it like this: $.post( table.php, {

[jQuery] How to implement prototypes PeriodicalExecuter in jQuery

2009-11-23 Thread Urkman
Hello, I was using prototype for several years. Now I want to completly change to jQuery. One left problem is, that I need an equivalent to prototype's PeriodicalExecuter. How can I do the following with jQuery? # //click start button $myPeriodicalExecuter = new PeriodicalExecuter

Re: [jQuery] Close popup (div) when clicked outside the div

2009-11-23 Thread Alexandru Adrian Dinulescu
Hello. I think you could do something like $(.containerdiv:not(.divThatHoldsTheTextboxes)).click(function(){ $(.contaierDiv).css(display, none);}); this means that if the users clicks anywhere outside the div that holds the boxes the container div will be changed. I am not very pro in JQuery / js

[jQuery] Re: jQuery Ajax BlockUI Database

2009-11-23 Thread MorningZ
I'm not sure why you would use BlockUI for this purpose... seems more like a tooltip plugin is needed that can handle HTML On Nov 23, 3:10 pm, Troy Sartain sartain.t...@gmail.com wrote: While searching around I have seen plenty of examples where people query a database and use BlockUI to put

Re: [jQuery] jquery 1.3.2 syntax error line 324 in IE6

2009-11-23 Thread viperasi
ah? It's CompanionJS error?WTF,I get for a long time for this reason. Thank you very much really. https://twitter.com/viperasi my fridge!:http://bit.ly/ohBHG 有事您说话 On Tue, Nov 24, 2009 at 2:30 AM, Karl Swedberg

[jQuery] Re: Selecting elements loaded from an AJAX call

2009-11-23 Thread MorningZ
I'd suggest showing more code, as there is absolutely no reason why $.post( table.php, { }, function(str) { $(tablebox).html(str); $('#foo').click(function() { alert('You clicked Foo'); return false; }); } ); would not work On

[jQuery] problem with autocomplete plugin

2009-11-23 Thread bandito
Hi, I downloaded loopj's jQuery Plugin: Tokenizing Autocomplete Text Entry from http://loopj.com/2009/04/25/jquery-plugin-tokenizing-autocomplete-tex An excellent plugin that I had no problems modifying to my likings except for grabbing the value from the input text field. The setup

[jQuery] Reorder list numerically based on attribute?

2009-11-23 Thread welshy1984
I am wondering if it is possible to reorder a unordered list based on the list items 'rel' attribute? i have a list of items that change dynamically (its linked in with google maps, the 'rel' attribute of the list item is updated with the new distance from the google map marker icon when the

[jQuery] slideToggle lag in Firefox

2009-11-23 Thread Jason Kaczmarsky
So I have a div with an input, textarea, and submit button. A link makes it so you can expand/contract this div. In Firefox only, the div resize is very laggy and its clearly shown on the site. That happens when you open it. The rest of the site is pushed down like its supposed to, but the

Re: [jQuery] jquery help

2009-11-23 Thread Bjorn Symister
I apologize for not being clear. I am not getting the information I need on (Server1) from (Server2). Would you be able to send me a codd snippet that will pass the information. One for the scripting server and the other for the client server. I am collecting email information. Thanks, Bjorn

RE: [jQuery] slideToggle lag in Firefox

2009-11-23 Thread Dave Maharaj :: WidePixels.com
I have the same problem. Firefox eats up a lot of memory when open for a long time (900k sometimes) and my toggle divs drag ass. If I find a solution I would be happy to hear. Thanks, Dave -Original Message- From: Jason Kaczmarsky [mailto:jkaczmar...@yahoo.com] Sent: November-23-09

Re: [jQuery] Reorder list numerically based on attribute?

2009-11-23 Thread Karl Swedberg
Something like this might work... var items = $('li').get(); items.sort(function(a, b) { var relA = +$(a).attr('rel'); var relB = +$(b).attr('rel'); if (relA relB) { return 1; } if (relA relB) { return -1; } return 0; }); for (var i=0; i items.length; i++) {

[jQuery] Dynamically Changing the Stored Height of a Parent Div Based on a Child's Content

2009-11-23 Thread Dave
I have a comment form that is fed by Disqus. It is in a div that is scrolled with ui.slider. The problem is, I determine the maxScroll by calculating teh difference between the scrolling content and the viewport. Work great all across the site except here. Reason is, the var fot the div's heigh

[jQuery] Re: list bullet style

2009-11-23 Thread dnagel
Not quite what I'm after... Wanted to use the LI's native numbering and be able to bold just that, not the content inside the LI. Right now I have spans inside the LI with hard coded numbering to get the bold effect. I'm just trying to accommodate a client. Putting the spans around the inner

Re: [jQuery] jquery help

2009-11-23 Thread Michel Belleville
Right. Don't take it the wrong way but here's how it works on a mailing list where people help you for free, you don't ask people to do your job for you. Instead, what you could be doing is, try to do things, encounter problems, ask about the specific problems you're encountering, and usually get