[jQuery] Re: [validate] Remote Validation

2008-08-22 Thread Jörn Zaefferer
Yes, thats possible. Something like this works: $.validator.addMethod(custom, function(value, element) { if (invalid(value) { this.settings.messages[element.name] = my custom message; return false; } return true; }, default message); That

[jQuery] XML filtering

2008-08-22 Thread Michael Price
Hi all, I have two XML files - one is a list of categories, laid out like this: categories category categoryID1/categoryID categoryNameThe Category/categoryName /category .. /categories And a subcategory XML file laid out like this: subcategories subcategory

[jQuery] Multiple Callbacks within an load, post, get or Ajax Call (to get a more detailed progress)

2008-08-22 Thread pello1337
Hi, I am not a native englisch speaker so please excuse my language. I am developing a project which handles a lot of data. Yesterday I thought about a progressbar, which indicates the actual status of an Ajax Call (Progressbar Plugin: e.g. http://www.anthor.net/fr/jquery-progression.html) Now

[jQuery] Click not firing in ie6 /7

2008-08-22 Thread ISSSSI
Hello, I have the following code works fine in ff and safari but the click event is not handled in ie6/7 // add tracking pcWebServiceURL to the current page function addTracking(){ var _WSURL = pcWebServiceURL;

[jQuery] Re: Equiv of :contains for matching substring in id or class?

2008-08-22 Thread PeteShaw
thats great thanks Karl, works a treat! cheers Pete

[jQuery] scrollpane and UI Dialog window

2008-08-22 Thread Toccamonium
Hi, onclick we open the UI Dialog window for detail information. In the window we have the UI Tab and into them content wrapped by the scrollpane plugin. When you open the dialog the first time everything works fine. But if you open it again the scrollpane hides the content as it's writing

[jQuery] Check box's as Array - jQuery ajax post

2008-08-22 Thread Ram...
$.validator.setDefaults({ submitHandler: function(){ var checkedregions = new Array() var checkedtopics = new Array() if($(input.regionschk:checked).length 0) { $(input.regionschk:checked).each(function(){ checkedregions.push($(this).val());

[jQuery] Re: How to specify location for error message ?!

2008-08-22 Thread PanPan
Have you another idea ?! Thanks. On 21 août, 17:54, PanPan [EMAIL PROTECTED] wrote: But it still doesn't work. On 21 août, 13:59, Jörn Zaefferer [EMAIL PROTECTED] wrote: That should've been appendTo! Jörn On Thu, Aug 21, 2008 at 12:34 PM, PanPan [EMAIL PROTECTED] wrote: I have

[jQuery] Re: calling functions inside pages loaded by AJAX

2008-08-22 Thread gregg
Josh: Sorry, I did use $(document).ready not $(document).ready; that was a typo -- my bad. When I use $(document).ready inside the html being loaded by ajax, it seems to get invoked as soon as ajax reads the script block; not when the page has been fully loaded and it's items added to the DOM.

[jQuery] jQuery div on demand

2008-08-22 Thread FnTm
Hi! Im new to the whole js and jQuery thing, but I would like some help. I have a page, that has 4 div's that are hidden on document.load and 4 images, and ive written a function for each one of them, so that when you click the image, it shows a specific div, that contains a form. What I need

[jQuery] Swapping table rows

2008-08-22 Thread Alen Ribic
I am trying to get my head around the manipulator concept and table rows. How do I go about manipulating my table to swap rows? I have arrow keys to indicated the direction. So if user clicks once 'Up' in the row '2', then that row should go above row '1' and opposite effect in opposite

[jQuery] History plugin not getting back to the home page - Link Inside

2008-08-22 Thread bradleyg
So I have managed to get this working ok but the problem I have is I can't get back to the home page. I have tried to solve it for a while but can't seem to come up with a solution. Has anybody got any ideas? http://tinyurl.com/39exv6 Link to javascript file: http://tinyurl.com/64zdw5

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-22 Thread Ca Phun Ung
andrejk wrote: Seems to be something with the jquery ui downloads. If i select build your download on the jquery ui site, select all packages, minimized version, and use that, autocomplete works. If i select the development bundle and use jquery.ui.all or jquery.ui.all.min, autocomplete

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-22 Thread Aaron Heimlich
On Fri, Aug 22, 2008 at 12:42 AM, Ca Phun Ung [EMAIL PROTECTED] wrote: The development version of UI introduced a new autocomplete widget (ui.autocomplete). jQuery UI 1.6's autocomplete widget is actually a port of Jorn Zaefferer's Autocomplete plugin[1]. The API has probably changed some to

[jQuery] Re: Swapping table rows

2008-08-22 Thread MorningZ
I don't have time to work up an example, but what you want to do would/ could involve: .clone http://docs.jquery.com/Manipulation/clone#true and .remove http://docs.jquery.com/Manipulation/remove#expr

[jQuery] Showing response text lines with delay

2008-08-22 Thread InterCoder
Hello, I'm creating a validation through AJAX and I'd like to show a fancy console-like text. I'll explain what I mean, the responses are: Step 1 data is correct... Step 2 data is correct... Step 3 data is correct... Validation complete! Now I'd like to show these lines of text with a delay

[jQuery] jscrollpane and tab key

2008-08-22 Thread jscharf
hello, i got a problem while loading a form into a container using jscrollpane to handle overflow. First time it's loaded jscollpane reacts like it should do, but if u use the tab key to go through inputs and textfields, jscrollpane disappears if the form is much more longer than the div

[jQuery] Unable to select input by value with variable

2008-08-22 Thread skankster
Hello, I have a form with lots of radio buttons that all have the same name. I want to select the one that was clicked by its value. What I am doing is this: script type=text/javascript $(document).ready(function() { $('input[name=weAreAllCalledTheSame]').click(function () { if

[jQuery] JQuery exists - anything in core or a plugin that does this?

2008-08-22 Thread James
Hi, I can't seem to find anything that does the following: $(img).exists(function(matches) { /* do something with matches */ }); the difference between exists and each being it is only run once and supplies all the matches as an argument. The long-hand way of doing this is something along

[jQuery] Re: JQuery exists - anything in core or a plugin that does this?

2008-08-22 Thread MorningZ
a quick plugin to do a simple if statement? if ($(img).length 0) { $(img).doSomething(); }

[jQuery] Re: JQuery exists - anything in core or a plugin that does this?

2008-08-22 Thread Brandon Aaron
Is there a particular method/plugin you are wanting to write this for? Most jQuery methods and plugins operate on 0 or more matched elements. -- Brandon Aaron On Fri, Aug 22, 2008 at 7:54 AM, James [EMAIL PROTECTED] wrote: Hi, I can't seem to find anything that does the following:

[jQuery] objects with unknown class or id

2008-08-22 Thread Shao Kang Tat
Hello all, I'm new to jQuery as we are transitioning away from Prototype. Basically we have code like this in the HTML. div id=blah class=blah onclick=someFunction({src:this, something:else})Click me/div in our javascript: function someFunction(params){ var obj = params[src];

[jQuery] Re: Unable to select input by value with variable

2008-08-22 Thread skankster
Ok, I solved the issue doing this: script type=text/javascript $(document).ready(function() { $('input[name=weAreAllCalledTheSame]').click(function () { if ($(this).attr('checked')) { iwasclicked = [EMAIL PROTECTED] + $ (this).attr('value') + ];

[jQuery] Re: JQuery exists - anything in core or a plugin that does this?

2008-08-22 Thread James
OK fair point. To me though: $(img).exists(function(matches) { }); is a bit more of an elegant solution and a bit more readable (and saves you repeating the selector that might be quite long), but that's probably because $(img).length 0 doesn't sound particularly intuitive to me. I guess if

[jQuery] Re: JQuery exists - anything in core or a plugin that does this?

2008-08-22 Thread Mike Alsup
OK fair point. To me though: $(img).exists(function(matches) { }); is a bit more of an elegant solution and a bit more readable (and saves you repeating the selector that might be quite long), but that's probably because $(img).length 0 doesn't sound particularly intuitive to me.

[jQuery] Re: JQuery exists - anything in core or a plugin that does this?

2008-08-22 Thread James
Brandon's point is that the if is implicit.  You can do this regardless of whether or not there are any images on the page: $('img').doSomething(); Yes that's fine - but doSomething() has to be defined as a method on the jQuery object. I want to call an anonymous method (or one defined

[jQuery] Re: Unable to select input by value with variable

2008-08-22 Thread skankster
I am sorry about this soliloquy. I found out that I don't need any variable at all to accomplish what I wanted to. I could select the object I needed to modify using parent and find: if ($(this).attr('checked')) { $(this).parent().parent().find('.classOne, .classTwo).fadeIn('slow');

[jQuery] how to get json or xml to be datasource of autocomplete

2008-08-22 Thread foxtrot
Hi! I'm making an app which benefit a lot from using autocomplete. However, I need to use an external file as source, and json or xml would suit the backend people best (ruby on rails). I have made an effort of trying to use xml, but ain't succeding. Maybe some of you guys can help me out? My

[jQuery] Re: JQuery exists - anything in core or a plugin that does this?

2008-08-22 Thread James
The use case I was looking at was along the lines of: $(div#navigator).exists(function(matches) { $.getScript(scripts/navigator.js, function() { matches.makeNavigator(); }); }); Regards, James On Aug 22, 2:25 pm, James [EMAIL PROTECTED] wrote: OK fair point. To me though:

[jQuery] Ajax JW Video Player. Fine in Firefox PC and Mac. IE6 Not working

2008-08-22 Thread Craigy
Hi - I have a development page here: http://www.aoec.com/beta2008%5Fv1/open/index_ajax.asp When you click on the play video box on the left it shows a DIV and then replaces some black content in that div with the following code: div id=playerJavasctipt required./div script type=text/javascript

[jQuery] Safari 3 working locally but not on the web.

2008-08-22 Thread ch2450
Hi everybody, I'm new to jQuery and to web developing in general (I guess). context: Recently I developed a website on a Mac using MAMP and Firefox. I used MySQL, PHP and javascript (jQuery-1.2.6 -- for effects and ajax). I'm also using these plugins: - thickbox by Cody Lindley - livequery by

[jQuery] Re: objects with unknown class or id

2008-08-22 Thread Michael Geary
Merely including jQuery in your page shouldn't interfere with your inline event handlers at all. I combine them all the time. If you call someFunction() from an onclick=..., it should work just the same as before. Can you post a test page that illustrates the problem? There must be something

[jQuery] Re: [validate] has no name assigned Error

2008-08-22 Thread Mike
That did the trick perfectly thanks! Never used that option before On Aug 21, 2:52 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: You can set the ignore-option to ignore that field. Jörn On Thu, Aug 21, 2008 at 1:10 AM, Mike [EMAIL PROTECTED] wrote: I am getting a has no name

[jQuery] Re: how to get json or xml to be datasource of autocomplete

2008-08-22 Thread GLP
Something like this could work (quick code scraps here) The html part: (This will give you an input box and a button next to it to do full lookups, once you start typing the onkeyup/onblur events will complete accordingly. ( the href here is how I designed buttons using text when hovered over

[jQuery] getJSON timing problem (probably a simple newbie problem)

2008-08-22 Thread cbandes
Hi - I have a simple json file which contains a list of key/path pairs, the idea is that I will use this to update the links in a nav menu. In order to do this, I am using getJSON to load and parse the data, like so: var pathAssoc = new Array(); var pathVar = null; function getPathData(){

[jQuery] Reuse an ajax call and cancel it

2008-08-22 Thread Javier Martinez Fernandez
Is there any way to reuse the same ajax call many times and cancel it if it's called again before it has been finished? Thanks.

[jQuery] Re: getJSON not working in IE

2008-08-22 Thread Jeff
Try to append to the thead tag instead of the table tr tag.

[jQuery] xhr bug in Mac OS X Dashboard?

2008-08-22 Thread Kyle Bragger
Hi all, I'm encountering a weird issue I can't seem to track down any info on-- I'm building a dashboard widget for OS X and using jquery to do it; when testing in safari, the following code returns the expected response (alert box with some http status code, 200 or 403 in my case): var params

[jQuery] Synching wih Flash External Interface

2008-08-22 Thread [EMAIL PROTECTED]
Hi all, new here, new to JS completely in fact! I have a client that uses jquery to produce a site with nice tables that they'd like interacting with a flash app on the same page. Basically the flash app is a graph with labels - when the labels are clicked in flash the relevant entry in the

[jQuery] Re: [validate] Remote Validation

2008-08-22 Thread shapper
My input id is Name and the remote method is Check so the request is Check?Name=Something Can I change the Name to, for example, TagName in the request, without needing to change the id of the input? Thanks, Miguel On Aug 22, 9:16 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: Yes, thats

[jQuery] AutoComplete. Show List

2008-08-22 Thread shapper
Hello, Can I open the AutoComplete list by clicking an image next to my input? For example, if the user does not write anything but wants to see all AutoComplete options then would click that icon on the right of the input ... Thanks, Miguel

[jQuery] Re: JQuery exists - anything in core or a plugin that does this?

2008-08-22 Thread Balazs Endresz
perhaps: jQuery.fn.exists=function(fn){ if(this[0]) fn(this) return this } On Aug 22, 3:45 pm, James [EMAIL PROTECTED] wrote: The use case I was looking at was along the lines of: $(div#navigator).exists(function(matches) {   $.getScript(scripts/navigator.js, function() {      

[jQuery] Re: objects with unknown class or id

2008-08-22 Thread Shao Kang Tat
Actually one thing is solved, it's because when I was using Prototype, the call was onclick=someFunction({src:$('someID'), otherParams:}); for jQuery it had to be modified to be passed in as $('#someID'), so now the function on the receiving end works with obj.attr(class) etc...however

[jQuery] Can't get css png fix plugin to work....

2008-08-22 Thread Aaron
Hi I just tried getting the plugin for jquery it's called cssPNGfix it's supposed to fix the problems with IE for tranparent png files. any suggestions how to get this to work?? I included the jquery main file and also the fix javascript. I don't understand if it needs/depends on any other

[jQuery] Re: Synching wih Flash External Interface

2008-08-22 Thread Marak
All you have to do is get ExternalInterface working in Javascript and inside the Actionscript. When someone clicks inside the flash app have it trigger a Javascript function that fires whatever you need to do in jQuery. When someone clicks on the html and fires a Javascript have it call the

[jQuery] Noob jQuery effects question. Help please :-(

2008-08-22 Thread Marak
Hey guys! I've got a timer running in my page that creates a new element every few seconds. The idea is to then fade in this new element. I've gotten it to work...but for some reason as the page runs (are more elements get added) the fades start to not finish. Each element gets lighter and and

[jQuery] Check checkbox based on ID list

2008-08-22 Thread hubbs
I am looking for ideas on how to check some checkboxes based on a list of id's that match the id's of the checkboxes. Example: div id=checkedValues 10, 14, 11 /div div id=checkBoxes input type=checkbox value=1 id=10 name=10 / input type=checkbox value=1 id=11 name=11 / input type=checkbox

[jQuery] Re: [validate] Remote Validation

2008-08-22 Thread Jörn Zaefferer
Nope, that isn't supported, yet. Though you could set up a global beforeSend event handler that replaces the offending id with something else. http://docs.jquery.com/Ajax/ajaxSend#callback $().ajaxSend(function (event, XMLHttpRequest, ajaxOptions) { ajaxOptions.data =

[jQuery] Re: objects with unknown class or id

2008-08-22 Thread Michael Geary
So the original code you posted was different from the actual code, eh? No wonder I couldn't see what the problem was! ;-) This is why people always recommend posting a link to a test page, not a code snippet. And especially not a modified code snippet that is similar to the actual code but

[jQuery] Re: Check checkbox based on ID list

2008-08-22 Thread hubbs
There is also the option of me putting the checked values into an array if that would help with this... On Aug 22, 11:27 am, hubbs [EMAIL PROTECTED] wrote: I am looking for ideas on how to check some checkboxes based on a list of id's that match the id's of the checkboxes. Example: div

[jQuery] Re: IE - 'object does not support this property or method'

2008-08-22 Thread pedalpete
Thanks Mike, I can't believe I missed that one. Using .join() to create the var works nicely too, and I assume the .length is quicker than an if statement? Looks simpler anyway. Thanks Pete On Aug 21, 1:26 pm, Michael Geary [EMAIL PROTECTED] wrote: You have a typo on line 68 of

[jQuery] Script Wouldn't Work After Content Reloaded

2008-08-22 Thread SHiDi
Hi all. I've tried to reload a content using jQuery.post. However, it seems that once the content is reloaded, the script didn't work the way it supposed to. My jQuery script is: $(.click).click(function() { alert('Hello World'); $.post('actions.php', {},

[jQuery] Re: getJSON timing problem (probably a simple newbie problem)

2008-08-22 Thread GLP
Just load your JSON data as early as possible. What are you waiting for to not load the data immediately after the 'document is ready' ? cbandes schreef: Hi - I have a simple json file which contains a list of key/path pairs, the idea is that I will use this to update the links in a nav

[jQuery] Question re: jQuery QuickSearch

2008-08-22 Thread McBilly Wilford Sy
Hello world! I am a new member and really really new with jQuery. Although I have seen this work so many times before, this is the first time I am actually using the codes. Anyway, I am trying to make Rik Lomas quicksearch plugin ( http://rikrikrik.com/jquery/quicksearch/) to work. The problem

[jQuery] interview request from InfoWorld

2008-08-22 Thread peter
Hi-- I'm working on an article for InfoWorld about how developers are reacting to the announcement from the ECMAScript committee that they would abandon development of the feature-rich ECMAScript 4.0 and stick to adding smaller enhancements to ECMAScript 3.1. If anyone would be willing to

[jQuery] Re: objects with unknown class or id

2008-08-22 Thread Shao Kang Tat
Hi Mike, Thanks for the explanation. That clears up a lot of questions I had, especially the part about the $ and it's relationship to the DOM elements. I guess I assumed I was getting a DOM element back because I have been using Prototype for so long, that it's kinda of what I expected to get

[jQuery] Re: FF3 +jquery 1.2.6 + thickbox + custom plugin issue

2008-08-22 Thread LicH
Hm, strange effects here: http://www.pixeline.be/experiments/ThickboxToJqModal/ while the window resizes... I don't like them. Can i turn them off and put dowload.gif or something similar instead? I also need gallery with one or more pictures (img /) preview like in thickbox. Is it possible with

[jQuery] Re: Check checkbox based on ID list

2008-08-22 Thread hubbs
I figured it out, I just had my server write the jQuery attributes: $(#12).attr(checked, checked); On Aug 22, 11:58 am, hubbs [EMAIL PROTECTED] wrote: There is also the option of me putting the checked values into an array if that would help with this... On Aug 22, 11:27 am, hubbs [EMAIL

[jQuery] Re: JQuery exists - anything in core or a plugin that does this?

2008-08-22 Thread moester
I think this is a valid request and the apply() plugin might be what you're looking for. http://plugins.jquery.com/project/jquery_apply

[jQuery] Re: interview request from InfoWorld

2008-08-22 Thread Marak Squires
Would just like to alert you of the fact that ECMAScript 4.0 is what Actionscript 3.0 is based off of. Actionscript = Flash = Adobe. Microsoft has been against ECMAScript 4.0 because they know if it is adopted for javascript then more people will lean towards using Actionscript. Microsoft helped

[jQuery] clueTip Sticky Mouseout

2008-08-22 Thread ajbvr
I like the effect of using mouseoutClose with the sticky option, however it would be nice if the clueTip also went away when someone moused off the link. That way the clueTip only showed if the mouse was over the link or the clueTip. Has anyone been able to implement this feature? Or do you

[jQuery] AutoComplete -bassistance

2008-08-22 Thread kreiss
I'm close to getting the autocomplete to finally work...but. First of all, I'm using Java / .jsp to query a database for results I'm sending the url to my servlet, my servlet passes the data back to the .jsp pageNothing appears in my dropdown UNLESS I use my mouse, click outside of the

[jQuery] Thickbox iFrame, 3 links, need box to close and refresh parent page

2008-08-22 Thread DRoss
Hi, I am using thickbox to show iFramed content. The thickbox iframe appears with 3 links inside. When a link is clicked the thickbox should disappear and the parent page should load the link. Currently the link loads inside the thickbox window. I do not want this. Is there an easy way to have

[jQuery] Re: autocmplete working ( kinda)

2008-08-22 Thread larksys
Guess I should have asked it differently. On Aug 21, 10:07 pm, larksys [EMAIL PROTECTED] wrote: I finally am beginning to understand some of this. It took a little bit for the fact that variable q was being passed and not the id of the input element. And it's

[jQuery] Re: Thickbox iFrame, 3 links, need box to close and refresh parent page

2008-08-22 Thread DRoss
Doh, I figured it out... pa href=create.php onClick=parent.tb_remove(); parent.location.reload(1)Create another campaign/a/p Added the onClick above.

[jQuery] Re: Ajax JW Video Player. Fine in Firefox PC and Mac. IE6 Not working

2008-08-22 Thread Steve Blades
In my experience, JQuery and SWFObject never coexisted well in IE 6 (swfobject broke DOM). We use the JS that Adobe's generator push's, which keeps the DOM correct. On Fri, Aug 22, 2008 at 9:20 AM, Craigy [EMAIL PROTECTED] wrote: Hi - I have a development page here:

[jQuery] Re: AutoComplete -bassistance

2008-08-22 Thread Jörn Zaefferer
Please take a look at the examples here: http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/ The remote examples are based on PHP, but still show the essential stuff. You've got it all mixed up. Jörn On Fri, Aug 22, 2008 at 9:57 PM, kreiss [EMAIL PROTECTED] wrote: I'm close to getting

[jQuery] Re: autocmplete working ( kinda)

2008-08-22 Thread Jörn Zaefferer
Yes, reformulating your question could help a lot. Usually a testpage with a short description of the context and the issue is best. Jörn On Fri, Aug 22, 2008 at 11:27 PM, larksys [EMAIL PROTECTED] wrote: Guess I should have asked it differently. On Aug 21,

[jQuery] Re: Thickbox iFrame, 3 links, need box to close and refresh parent page

2008-08-22 Thread DRoss
Doh2...the above code just refreshes the page. I need the parent page to grab the link from the thickbox window and go to it. Any ideas?

[jQuery] Identical Ajax Data Request Resend After Timeout

2008-08-22 Thread IanR
Hi there, I would like to use jQuery to request data using ajax sending a set of parameter values from various dropdowns with it. What developments are there regarding the possibility of sending the exact same information again after a time of say five seconds using a link that appears if five

[jQuery] Re: jQuery Plugin tableSorter Filter

2008-08-22 Thread Justin Britten
I've recently written a companion plugin to tablesorter which will do filtering. It's a bit different than the one shown in the demo you link. Mine allows real-time filtering across multiple columns. Check it out at:

[jQuery] AutoComplete Width

2008-08-22 Thread shapper
Hello, How do I define the AutoComplete panel to a fixed width? I tried to do it in the CSS by adding it to Results but it does not work ... Thanks, Miguel

[jQuery] Re: AutoComplete Width

2008-08-22 Thread shapper
I notice there is a Width property but I would like the Autocomplete to have the same width of the input which is 34em (I am using ems). I tried it but it does not work ... any idea? Thanks, Miguel On Aug 22, 11:34 pm, shapper [EMAIL PROTECTED] wrote: Hello, How do I define the AutoComplete

[jQuery] Re: objects with unknown class or id

2008-08-22 Thread Michael Geary
Glad to help, Shao. Yes, that is one of the most confusing things when you switch from Prototype to jQuery - they use the same function name for two very different things (even though they are very similar in concept). -Mike From: Shao Kang Tat Hi Mike, Thanks for the explanation. That

[jQuery] creating and inserting a new element fails in IE7

2008-08-22 Thread deckard
Hi! The following function converts buttons dynamically to links (so I can format the links with CSS later) Works fine with FF3 and Opera. But in IE7 the a element does not get inserted and I have no clue why!? In IE7 it seems to fail in line var c = $

[jQuery] stopping form submission?

2008-08-22 Thread Wells
Coming from prototype, still new to jQuery.. Trying to stop a form submission like so: form name='register' id='form_register' action='/register' method='post'/form Clicking on an input with type of submit. Then the javascript: $('#form_register').submit(function () {

[jQuery] Re: stopping form submission?

2008-08-22 Thread Mike Alsup
Clicking on an input with type of submit. Then the javascript: $('#form_register').submit(function () {         alert('die');         return false; }); Yet this isn't stopping the event. In prototype, you could observe the submit event, and call event.stop(). Anything similar in jQuery?

[jQuery] jQuery.forms javascript in response ignored ?

2008-08-22 Thread Alexey
Hi there! I do $().ajaxSubmit(...,mySuccessCallback) In the sever response I have not only html code but also some javascript that should be executed. div id=main script language=javascript.../script div id=content.../div /div but in the mySuccessCallback function in the 'response' field I

[jQuery] Minimizing jQuery library

2008-08-22 Thread me-and-jQuery
I would like to minimize the size of library file to minimum with my specific wanted functionalities. All what I need is selector for ID, html function, ajax call, element toggling and sliding (slideDown). What size of library do you think could be the minimum in my case (minified version). I

[jQuery] Re: autocmplete working ( kinda)

2008-08-22 Thread larksys
Ok, here's a link to a test page; http://www.taxsearchinc.com/test/index.cfm If you type charles w you will see one of the problems On Aug 22, 5:13 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Yes, reformulating your question could help a lot. Usually a testpage with a short description

[jQuery] Re: jQuery.forms javascript in response ignored ?

2008-08-22 Thread Mike Alsup
Can you post a link to a test page? I do $().ajaxSubmit(...,mySuccessCallback) In the sever response I have not only html code but also some javascript that should be executed. div id=main script language=javascript.../script div id=content.../div /div but in the mySuccessCallback

[jQuery] Re: creating and inserting a new element fails in IE7

2008-08-22 Thread Dave Methvin
In IE7 it seems to fail in line         var c = $ ('a').insertAfter(this).addClass(this.className).attr('id',this.id +'_r'); You might want to try ('a/a') since IE is fussy about those things. It looks like you did that in several other places.

[jQuery] Re: History plugin not getting back to the home page - Link Inside

2008-08-22 Thread Dave Methvin
I can't get back to the home page. I have tried to solve it for a while but can't seem to come up with a solution. The answer is in the jquery.history_remote.js documentation. Pass a function to $.ajaxHistory.initialize() and that function will be called when there is no bookmark. In your

[jQuery] Re: Safari 3 working locally but not on the web.

2008-08-22 Thread Dave Methvin
As I said, I'm a newbie. What should I do? How should I start to debug? Can you post a link to a sample page? That would really help.

[jQuery] Re: Click not firing in ie6 /7

2008-08-22 Thread Dave Methvin
                                        var newLink = decorateLink(u);                                         if(newLink.length){ So you put an alert right after that to be sure that newLink.length was not zero? Can you post a link to a test page?

[jQuery] Re: Minimizing jQuery library

2008-08-22 Thread Dave Methvin
All what I need is selector for ID, html function, ajax call, element toggling and sliding (slideDown). The first three are easy enough that you don't need a library, you could just use trivial wrappers around getElementById, innerHTML, and XMLHTTPRequest. If you are willing to settle for

[jQuery] Multiple Browser windows Issue

2008-08-22 Thread bansi
Hi Gurus, We are planning to fix the famous Multiple Browser Windows/Tabs sharing the same session issue by using Javascript Jquery Here is the proposed solution 1)use jQuery to register body or window onLoad event 2) Then have Java Script function on load that would look for the existing

[jQuery] Re: div magic

2008-08-22 Thread Liam Byrne
Ariel beat me to what I was going to say! VERY bad idea if you want to register in search engines Liam Ariel Flesler wrote: Ok then: $('div.box[title]').each(function(){ $('h3 /').text( this.title ).prependTo(this); }); Note that you're giving non-js users (and search engines) less

[jQuery] Re: Script Wouldn't Work After Content Reloaded

2008-08-22 Thread Karl Swedberg
You have run into a fairly common issue: how to get events to work with elements that are added to the DOM, through either ajax or simple DOM mainpulation, after the document ready code has already fired. This FAQ topic should answer your question: