[jQuery] ajax request hangs IE6
XP IE6 virtual PC for test, latest version of jquery the browser hangs after an ajax request. $.get("/myurl", {random: $.random()}, mycallback); I read that IE6 hangs for some cache searching stuff, that is why I added a randomstring with my $.random() but keeps hanging the browser. anyone with this issue ? thanks guys
[jQuery] Code not working on IE7 (Please Help)
Hi all, This code is not working on IE7 but it working fine on firefox. give me some advice $.getJSON('LoadCities.ashx?StateID=' + StateID, function(cities) { $.each(cities, function() { //alert(this['City']); //alert(this['City']); $ ("#ctl00_ctl00_MiddleContent_InnerMiddle_ddlCities").append($ ("<option></option>").val(this['ID']).html(this['City'])); }); }); thanks
Access over the internet
Hello, I added some filtering and pagination functionality to a large table with JQuery. It runs fine if I access it locally on the server. But it runs very slowly if I access it over the internet. I don't understand this. I thought all javascript execute in the browser. Why would the events run slowly if the code is on the sever? No ajax is involved. So, what am i missing? Please help any input would be appreciated.
[jQuery] (treeview)
<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>Is it possible to expand all the parents of a given node based on an ID?<div> </div><div>I have a large nested tree view that the selected values can actually be 6 or 7 levels deep and I would love to be able to pass an ID to the treeview to show and have all the parents expanded.</div></div></body></html>
Having selection problems only with "div" and div-
Here's my htm - http://www.stjohnhistoricalsociety.org/Maps7.htm my js in "Includes/Maps7.js" and my ajax data is in "Data/Placemarks.htm" For security reasons Google Maps and Earth browser plugin APIs strip out javascript, css, <object>, <embed> from input KML files. So in order have audio/video content in my Feature Ballons/InfoWindows, I plan to load a .htm data file with the additional content I need, and when my app is notified that a placemark has been added/created from the kml file, I can
[jQuery] jQuery Star Rating Plugin v3.12
Hey guys, i want to get rid of the "cancel rating" button that appears next to the 5 stars when enabled. I need to force the users to enter a rating, so i need to take the cancel rating button off (makes value = 0). I can't find how to change this! please help thanks
[jQuery] Multiple occurance of "sticky, with arrows" in a single page is not working | cluetip-1.0.4
Hi, I tried "sticky, with arrows" (4th one) of cluetip-1.0.4 package. It's working fine. But when I used the same in multiple links in same page, only one is working. At present the html code is : <a id="sticky" href="ajax6.htm" rel="ajax6.htm">sticky clueTip with arrows</a> and javascript code is : <script type="text/javascript"> jQuery(document).ready(function($) { $('#sticky').cluetip({sticky: true, closePosition: 'title', arrows: true}); })
[jQuery] Color based on table data
I have a table of data brought in through lift and in it is a status column. I am wondering if there is an easy way to color a row based on the contents of that column. Any status of broken was red, edited was yellow and finalized was green. It seems like I could write a widget for doing this, but I don't know how it would work and have little experience with creating my own widgets.I don't think linking any of my code would really help the cause, but here is the initialization which includes functions
[jQuery] $.post and form data
Can someone explain a little bit more (more then jQuery's docs) about how the $.post operates? I know it's a "shortcut" for .ajax and it uses the HTTP POST request. So I'm guessing it's not sending the same request the form would send... i.e. you HAVE to provide the data to the php script through $.post. Is that correct? Then my next question is, if I have a set of check boxes and name each box "services []"... PHP will load the value of each into an array. Is there a quick way to assign these value
[jQuery] Autocomplete - How to simulate a select box, where displayed value is one thing and submitted value is another
Hi, I'm trying to figure out how to use the autocomplete jQuery plugin best to my needs. I'm looking to replace a select box with the Autocomplete plugin, but not quite sure how to accomplish this. In my select box, I have the option that is displayed is not the same as the data that is submitted. ex: <option value="123">This is Displayed </option> However, with the autocomplete, since it is using a textbox, the values that are displayed, are submitted. Do I have to hack around using hidden fields
[jQuery] Minify jQuery
Hello, I like to use this online script to minify my js using YUI: <http://compressorrater.thruhere.net/> If I were to minify the raw jQuery source, would YUI compression work out of the box? Is there any reason why the YUI Compressor 2.4.2 would not work? Any tips? Thanks! M
Need Help With Getting Cross Domain XML (NOT JSON)
Alright, so I'm building a web app that provides music information (i.e. info on artists, albums, songs, etc.) and for the info source I'm using the MusicBrainz API. Now, I'm trying to load the data from an API call and process it, with jQuery. This is the code I'm using: queryString="http://musicbrainz.org/ws/1/artist/?type=xml&name="+qry+"&limit=10"; $.ajax({url: queryString, dataType: ($.browser.msie) ? "text" : "xml", success: function(data){ alert("success"); var xml; if (typeof
[jQuery] How to create an "Add New Option" option to a select list
Hello all, I have a form that uses jeditable to edit-in-place several fields and select boxes. Everything is working great. Now I need to a way to add a new option to the select list. What I would like is the user select "Add New..." from the select list that would pop-up a dialog window where several fields are filled in. When the form is saved the select field is updated with the new ID and description. I use Facebox for pop-up windows to display notes when the user clicks on a topic. I know Facebox
[jQuery] Preventing double submits
Hi, I am using jQuery and blockUI to prevent the user from submitting a form twice by double clicking on the interface: This is in my global js file and is called on every pages document.ready: $('form').submit(function(){$.blockUI({message:'', overlayCSS: {opacity:0.2}})}); This was working really well, but if I have validation on one of the form submits that returns false, I of course want to unblock the UI. Can you suggest a way of doing this? (without hard coding validation checks in the global
Mashup!... Cycle/Mouseover/Transition/Tabs >Help JQueryGu
Mashup!... Cycle/Mouseover/Transition/Tabs > Help JQuery Gurus! Hi Everyone… and no I ain’t mad Hope you can help; I have been trying to figure this out but can’t find anything! In a nutshell: I am trying to create tabbed content that rotates, fading between each div and also reveals the div on hover I have found lots of stuff that are near to what I want, but because I am new to JQuery I cannot write it fresh, I can only customise it. So I found these: http://metalbuildinggroup.ca/contentslider/
[jQuery] Ideas how to build?
I came across this select / checkbox setup at http://monster.ca/ for job search and was wondering if anyone has seen some thing like this jquery related? Not the drop/slide down. But when you click on the select input it shows a checkbox list instead of normal select options Thanks, Dave
Jquery scrollto duration problem
I'm trying to add scrolling buttons that scroll the page onmousover. They work great, however, since the duration is a fixed value, and the distance changes based on how far the user scrolls, it sometimes scrolls fine (when the distance and duration are proportioned), and very slow (when the duration is way higher than the distance)... Is there any way to change the duration based on the distance? To make some sort of "speed" setting, instead of a constant duration? Here is the code $('#right_button').mouseover(function(){
Jquery Tabs and cookies
Hi I am very new to jquery and need some help. I have set up tabs on a page, however the page contains multiple forms, each within its own tab. So the problem i have is that when the form within the tab is submitted my code reloads the page and obviously goes back to the default tab 1 fragment-1. What i want it to do is go back to the tab that submitted the form i.e. tab2 fragment-2. So from looking around i think i need to set a jquery cookie to remember the last tab selected. However as i said
[jQuery] (validate) does not work with backup php validation
I'm using bassistance.de's form validation, as shown here: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ In the very possible event that someone is browsing without JavaScript enabled, I've put together a PHP form validation that should direct the user to an error page (or thank you page upon success). The JavaScript works when I do not have the validation part in the PHP. When I do, it seems the JavaScript is completely ignored. Here's my HTML: <form action="form.php" method="post"
[jQuery] newbie: files not uploaded using multi-upload control
Hello, I use multi-upload JQuery control on my HTML page: ... <script src="include/jquery-latest.js" type="text/javascript" language="javascript"></script> <script src="include/jquery.MultiFile.js" type="text/javascript" language="javascript"></script> </head> <body> ... <input type="hidden" name="MAX_FILE_SIZE" value="4096"> <input type="file" name="property_pictures" class="multi" accept="gif| jpg|jpeg|jpe|bmp|png|mpg|mpeg|mov|avi|wmv" maxlength="7"> ... The problem is that I receive UPLOAD_ERR_NO_FILE
[jQuery] [Autocomplete] modify URL at runtime
Hi, I'm using the autocomplete plugin like that in the ready() event : $("#ctl00_body_txtSearch").autocomplete("Autocomplete_GetArts.ashx") .setOptions({ width: "220px" }); However I need to be able to change the URL (to add a bunch of query parameters) based on the values of some radio buttons and select boxes, which should be passed to the server page. How can I modify the URL before the AJAX call is made ? Is there an event I can use ? Thanks
[jQuery] Don't use onclick
Am I wrong to say you should never use onclick in an element as this would be contrary to the purpose of using jQuery which means onclick would totally bind mark-up to javascript? So it would not be unobtrusive in that case. -- View this message in context: http://www.nabble.com/Don%27t-use-onclick-tp25865558s27240p25865558.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
bind contextmenu not working fully
I'm having some problems with the bind contextmenu for images with Jquery. It works perfectly on some browsers, but for FF2 and some older versions of IE it is blocking everything. I have this on my main js script: $(document).ready(function() { $("img").bind("contextmenu", function(e) { return false; }); }); It works wonders on Firefox 3, some times 2 and in most of the IE versions, but some times, it, instead of blocking only the images, block everything. What I have noticed
[jQuery] Dynamic values
I'd like to be able to set the size of a jQuery dialog dynamically when I call it based on the target to be shown. I was considering adding invalid attributes like the following... where edit_width and edit_height are parsed and passed right before opening the dialog. <a href="HTMLToOpenInDialog" class="DialogEdit" edit_width=500 edit_height=250> But it's probably not be the best way. The dialog call is done from a base page, while the actual content to call is determine from the link clicked on
jquery drop down menu
I'm trying to develop a jquery driven drop down menu using the css-sprites technique but I'm a js newbie. I managed to get the headlink rollovers working OK but the drop down menu rollovers are all over the place. I've been at this for days now and read every tutorial I can find - you can see the commented out script of various earlier attempts! Can anyone tell where I'm going wrong? Link to problem menu: http://www.richardbarnfather.co.uk/navb ... avbar.html
[jQuery] dynamic validation in a smart way
dear all, thanks for the help so far. i was converting some validation forms we have to the new jQuery and i run into a problem i hope i can get some assist to solve it. here is the situation: i have a dynamic fields that are added to the form, i want to validate these added fields. the scenario is as follow: There are three input fields for the medicines by default. just the (Geneesmiddel) in the first row is mandatory and if you filling the Geneesmiddel field then the rest of the three fields are
[jQuery] append()
Hello, I'm having some problems understanding the append() function. What I'd like to do is select an element using it's ID and add a row to the table with a HTML form element. The table is dynamically generated using a Django template ( form.as_table() ) so I'm not able to alter the original HTML markup too much. If I had a table like this... <tr><th><label for="id_task_name">Task Name:</label></th><td><input type="text" name="task_name" id="id_task_name" /></td></tr> <tr><th><label for="id_percent_complete">Percent
How to take snapshot ofdragged/dropped/resized image
I would like to get a quick answer on something which has been puzzling me. I want to use jquery drag n drop, resizeable etc to manipulate multiple items inside a frame on a page (so far so good, doesn't seem a problem). Basically I am developing a online coupon based website, where I am giving the opportunity to my clients (sellers) to generate the coupon online (through drg/drop/resizeable image/text divs/change div colors, text font size,font type etc etc). Creating drag n drop,resizeable divs
[jQuery] possible to empty file input in form with .click or .focus ?
My image upload form has a choice of either upload image by entering url or by browsing for a file, I'm trying to empty the file-input input if you focus on the url-input. I've tried bother these events on click/blur but neither seem to work like they would for a checkbox or text input... $('#input_id').empty(); $('#input_id').attr('value', ''); any ideas would be help my head! -- View this message in context: http://www.nabble.com/possible-to-empty-file-input-in-form-with-.click-or-.focus---tp25860408s27240p25860408.html
[jQuery] (Validate) - Specifying error placement for only one field
I have a form where I am using the jquery validation plugin. In that form, I have a date field that is using a jquery datepicker plugin so a small calendar gif immediately follows the date field. The date is required. The problem is when the field fails validation, the error message appears directly after the date input pushing the calendar gif to the right of the error message. I know there is an errorPlacement parameter that you can use, but isn't that for every field in the form? How can I get
[jQuery] Cycle Plugin -- Multiple Divs manipulated with one pager
Hey all -- I've built a site that has two divs with variable content (eventually this will become 3, but I assume it will scale up to that with no major issues). I'd like to be able to change content with each of them using the same pager. I found a similar post in this group concerning that, but it didn't work for me, though it did manage to remove the second set of pagers (it was appearing twice, each one controlling one element). That discussion is here: http://groups.google.com/group/jquery-en/browse_thread/thread/0b8490d9c724ffc0
[jQuery] Problems with the form plugin (no redirect to the next page)
Hello, I try to use the malsup form Plugin. When I validate a checkbox i get an alert when it is unchecked, but when it is ckecked it dont go to the next page. Code overview: http://pastie.org/652518 Page: http://betriebskostenkontrolle.de/page_kostenstart.html Thx for Help Markus
[jQuery] Ajax populating select box based on radio selected
Hello, Is there a script that allows to get values to populate a select box via ajax when a radio button is clicked? Thank you. -- View this message in context: http://www.nabble.com/Ajax-populating-select-box-based-on-radio-selected-tp25869309s27240p25869309.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Using tablesorter
Hi, I am trying to use tablesorter available @ http://tablesorter.com/docs/. But the problem is that I am not sure how to make it work for me. Some information, I have never used JQuery before however I am familier with jscripts, I am trying to run the default code shown in the above link, I downloaded the jquery.tablesorter.zip but the examples in this folder appears as static pages i.e no sorting available as shown on the web page. I am sure that I am making a silly mistake somewhere but I would
[jQuery] keeping table header fix
Hello guys, I'd like to know if there is a way to keep a table header fixed on top of a div while I scroll the table rows. I have a div high 200px and the table itself is around 300px so when I scroll down I'd like to always see the header on top. I already use for the table tablesorter so the solution must be compatible with that plug-in. Thanks and have a nice day! Sig
SOLVED
THANK YOU
[jQuery] <title> tag not readable in MSIE
The foklowing code works fine in Firefox, but not in MSIE; var title = $("title").text(); I want to know the <title>blabla</title> as you can see. But MSIE does not support this. Is there another solution for this?
$.ajax() complete parms undefined and timeout problem
I have what I think is a simple $.ajax() call. I added complete and error functions but a time out in firefox 3.5.2 doesn't cause the error function to be called and when the complete function is called both parameters are undefined. If I make the ajax call return a http 500 response the error function is called. My code is - $(document).ready(function() { $('#btnNext').click(function(event) { try { var pageUrl = $(this).attr('href'); var splitter = new Array(); splitter = pageUrl.split('/'); var
[jQuery] Using Jquery Form Plugin with Hidden fields
Hi, I am using the jquery form plugin and I am very surprised that it doesn't post hidden field values to my php file. I need <form id="newTagForm" action="ajax-add-tag.php" method="post"> <fieldset> <input type="hidden" id="resourceID" name="resourceID" value="" /> <input type="text" id="usertags" name="usertags" value="" /> <input type="submit" id="addtag" name="addtag" value="Add" /> </fieldset> </form> Need to receive it like: $tagsString = makeDataSafe($_POST['usertags']);
[jQuery] Looking for Awesome Frontend Engineers
Web Application Engineer Standard Nine Inc. San Francisco, CA We're a small but well-funded startup that's changing the face of learning content. Our existing team is a mix of people from Harvard, MIT, Apple, Google and Facebook, and our cash comes from a veritable who's who of Silicon Valley investors. We're looking for some talented and intelligent engineers who want a dynamic, super-fast-paced, fun work environment. The successful candidate will get a healthy chunk of pre-Series-A equity, a salary,
Next Page