[jQuery] jQuery AJAX pulling styles
I'm using the $.ajax() function to grab a page and parse it ... but when I do, any styles on the page I pulled are applied to my page. Obviously this isn't what I want, I just want the data to parse. How can I avoid this?
[jQuery] Authentication issue with ColdFusion and SiteMinder with SWFObject and jQuery
Hello, I built a pretty cool admin tool which uses SWFUpload to do AJAX file uploading. However, while everything worked great in Development, once we added security to it, the file uploader doesn't work anymore. We use SiteMinder here, and it looks like somehow because the request is coming from Flash it requires authentication even though the user is already in an authenticated area. So the SiteMinder catches the request and sends back it's own response instead of the response that is supposed
[jQuery] loop/count
I'm trying to add a navigational aid to a carousel that I'm working on. Basically, I want to visually display the number of results in the carousel and then highlight the result that is currently in the first position as the user scrolls through the result set - providing a visual cue to the user as to where they are in the result set. I've seen this before on other carousels and it's sort of the same concept that Apple uses in the iPhone and iPod screens. I know this can be done rather easily with
Problems parsing HTML from $.get()
Am I misusing $.get() somehow? I have a very small javascript function that calls $.get() for a URL on my site, but jQuery doesn't seem to see the HTML properly. The javascript looks like this: function() { $.get('http://www.clubtroll.com/debug/sample2.html', {}, function(html) { alert('div count = ' + $('div', html).length); alert('content area: ' + $('#contentArea', html).length); alert('sub content area: ' + $('#subcontentArea', html).length); },
[jQuery] Looking for examples of how to 'endless-scroll' a div
I'm trying to use the endless scroll technique using jQuery. I've discovered the endless-scroll plugin, as well as something similar specifically for use with jQuery for a Ruby on Rails app. What I want to do is to scroll not the whole document but the contents of a div. The rails plugin doc says that's a TODO. Is it possible to do this with the endless-scroll plugin? If so can someone point me to an example, since googling has proven fruitless for me in this case. Or is there another plugin to do
[jQuery] JCarousellite: How do I alert the carousel's position?
Is there a way to echo the position of the carousel? I'd like to send it to a cookie, and use that to remember of the position of it so the user can back page to the place they left off, as someone on this list mentioned before.
[jQuery] [Validate]: Help with groups of checkboxes
I've been struggling with this for a couple of days now. I'm building pages with tables containing checkboxes. Each row of the table represents a grouping of checkboxes, The rows are generated in a PHP loop and have the format: <tr><td><input type="checkbox" name="question[row_number] [checkbox_number]" /></td></tr> So a small table with 3 rows and 3 checkboxes would go: [1][1], [1][2], [1][3] [2][1], [2][2], [2][3] [3][1], [3][2], [3][3] I need to be able to validate each row of checkboxes as a
[jQuery] how to pass php variable with load?
I am trying to load a php page into DIV B when DIV A is dropped on it. My question is: how do I pass a variable with my jquery load. this is what I have: .bind( "drop", function( event ){ $( this ).load("somefile.php?rec="+event.dragDiv.title+""); } everything works fine when I remove the +event.dragDiv.title+""
[jQuery] Loading jQuery - Need a black screen while it loads
I am designing a site that is jquery heavy. When the site loads it takes a while for all the scripts to load and then the images to settle down - more so in IE, naturally. I would ideally like to display a black screen or cover everything with a div while it settles down. I have tried a few Timeout scripts but they appear to be conflicting and don't work. Any body got any ideas how I can either display a blank screen while it all settles down or just avoid the problem all together. The site I'm talking
[jQuery] There is no group named jquery-ui.
Anyone else getting this when they try to visit the google group for jQueryUI?
Reading XML, problem accesing and counting elements
I'm trying to access an XML file, but it doesn't seem to work, this is an example of the XML: <?xml version="1.0" encoding="ISO-8859-1"?> <pics> <pic> <autor>rtteewt</autor> <desc>trhtrhtreherhetrhhrh</desc> </pic> <pic> <autor>tewtewt</autor> <desc>hytjyujryukukyyu.</desc> </pic> <pic> <autor>5yutru</autor> <desc>fghgyhvehtyudyd</desc> </pic> <pic> <autor>jhgjgfj</autor> <desc>trhythtrjtikui</desc> </pic> </pics> This is a simple
span text change event
How can I catch an event when text in span is changed ? $("span").change(... doesnt work :/ thanks for help
jQuery calculation returning unexpected result...
Trying to use the formula below... The outputted value should be $8055.30, but I keep getting $5065.22... Here are the values for the input fields I'm using in the formula below: e1 = 2842.33 e2 = 2675 a5 = 46 function g1() { $("[id=g1]").calc( "(((e1 + e2) * a5)/100)+(e1+e2)", { e1: $("input[name=e1]"), e2: $("input[name=e2]"), a5: $("input[name=a5]")
[jQuery] [Boxy] AJAX load problem?
When I invoke with: $("a").boxy(); Bosy will load the href of that <a> into its popup container. The <head> section loads in a div within the popup. If I 'filter' with an option thus: $("a").boxy({filter:'body'}); the entire content is filtered out and the popup is empty. Beats me why Boxy even tries to display the <head> content in the first place. My head happens to contain a <link> to a css file (same one as the main page, merely so I can edit the popup layout. I COULD remove the <link> but that's
Returning object from plugin
Hey all, I'm relatively new to JQuery and Javascript but I feel like I've been banging my head against a wall all day and I could use some help. Basically what I'm trying to do is write a plug in which connects to a sharepoint web service, traverse the results of the xml document that is returned by the web service for certain elements, and then return a collection of xml elements which I can use in another function on the page that is calling the plugin. My code looks like this: Main Page <script
Table manipulation question..
Hello say suppose this my code <table> <tr> <td> <input type="hidden" name="ctl00$BodyContainer$grvScrap$ctl02$hdnScrapId" id="ctl00_BodyContainer_grvScrap_ctl02_hdnScrapId" value="1" /> </td> <td> <a id="ctl00_BodyContainer_grvScrap_ctl02_hypImage"><img id="ctl00_BodyContainer_grvScrap_ctl02_imgUser"
Table manipulation question..
Hello say suppose this my code <table> <tr> <td> <input type="hidden" name="ctl00$BodyContainer$grvScrap$ctl02$hdnScrapId" id="ctl00_BodyContainer_grvScrap_ctl02_hdnScrapId" value="1" /> </td> <td> <a id="ctl00_BodyContainer_grvScrap_ctl02_hypImage"><img id="ctl00_BodyContainer_grvScrap_ctl02_imgUser"
How do I clear an input box? $(#SOLVED)
I would think this should be straight forward, but I've tried many different things with no luck. After a user successfully logs in, I'm hidng the login div, and displaying the 'loggedin' div. However, if someone clicks on logout, the username and password fields still have the login credentials in them. So, I need to clear those text boxes, along with the 'remember me' checkbox. Here is my code: ... function AjaxLogoutSucceeded(result) { if (result.d=='True') { $('#login').show(); $('#logout').hide();
[jQuery] Callback Not Working
I am looking to fade text out when the mouse passes over it and replace it with text that is faded in. My understanding is that this needs to be done through a callback, as the text needs to fade out completely before fading in. However, when I try to implement this idea the content does not fade in, so I must be doing something wrong. My code is: <script type="text/javascript"> var Tips = { ready: function() { $('ul#SiteNav li').mouseover( function() { $(this).find('div.SectionTitle').fadeOut('fast',
IE6 alert box issue
Hi All doing some jquery and in IE6 it says "This page is accessing information that is not under its control. This poses a seccurity risk. Do you wnat to continue?" is it the way i have written it? doesnt do it in IE7/8 and not in FF or Opera or chrome... why is it doing it.. bit concerned as it says "security risk" dont wnat to scare people!.. cheers mark
[jQuery] lost events
I would like to know if is there some jquery known behaviour that cause the lost of events handlers (in particular in iframes)? I've a strange kind of problem. I've built a webapp composed of two iframe. First i load content in the first iframe. I add some event event handler using jquery to first iframe content dom. Everything works. On user input i load a page in the second iframe. Here too, I add some event handlers using jquery. Then the strange thing happens: jquery lost the event handlers in
[jQuery] Converting rows into columns
I am displaying a few fields in a table as below <table> <tr><td>field1</td></tr> <tr><td>field2</td></tr> <tr><td>field3</td></tr> <tr><td>field4</td></tr> <tr><td>field5</td></tr> </table> I have a link to append a new table with the same fields. What I would like to do is when I click on "Append new table" link, I would like to convert all the existing fields in the table in a single row instead of displaying them by columns. Can somebody give me some inputs on how I could go about implementing
[jQuery] [jcarousel] jCarousel Appears Vertical then Horizontal
Hi, I am using jCarousel and I am getting a weird bug that I am hoping someone can assist me with. Basically, jCarousel renders perfect - however for a brief instant the carousel appears vertically and then appears horizontal as it should in IE / FF Does anyone know how to fix this bug ? Thanks
jQuery widgets and variable scope
I am trying to build a simple widget/plugin for jQuery for a project I am working on. However I seem to be hitting my head against a brick wall currently. (function($) { $.fn.validation = function(options) { // define defaults and override with options, if available // by extending the default settings, we don't modify the argument // do the rest of the plugin, using url and settings return this.each(function() { var settings = jQuery.extend({
[jQuery] [treeview] Can I apply classes to async trees??
Hi! I'm currently working on a project in wich I use a pair of trees. The thing is that one of them is too big and IE6 (it needs to be supported :s ) takes forever to process the tree so I want to load it asynchronously branch by branch using the async version of the tree. The problem is that I want the tree to be a filetree, but when created as async it displays with default style. Is it possible to create an async filetree (without applying the classes "manually")?? Here's my code: //js $(document).ready(function(){
Thickbox/Facebox
I have been developing a page which utilizes several ajax calls back to the C# code behind and makes a call to an external jquery file. This page works fine as a standalone page However, when this page is invoked via another page via a slickbox or Facebox function, the page pops up, but hardly anything in it renders. None of the ajax calls are functional and javascript errors seem to be happening. Why is this? Thanks all
Multiple Inputs, same IDs, no way to change that
I work at a university, and am trying to implement some jQuery on a form. Basically, I want to disable all input boxes with the ID of 'shift_input_id'. I understand quite well that this document shouldn't have repeating IDs. ID's should be unique. However, I have no control over how this form is generated. The code is produced by a 3rd party, and I'm not allowed to modify their code due to upgerade issues in the future. So, I MUST work with the sample code below. So far, my jQery is simple like:
Get the input value of "ANY" element <p> tag
Hi Guys, I am having difficulty getting the value of a specific value contained in a <p> tag, what is happening is that it retrieves the value of the first <p> tag value and not the one the user clicks What I need is to retrieve the value from the <p> tag the user clicked $(document).ready(function() { $("p").click(function () { var prop = $("#property_links").val(); $.post("n10-shortlist-connector.html", { web_AGENT_REF: prop}); var htmlStr = "Added to Compare
[jQuery] how to use jcarousel and fancybox
I can't use both plugins. I have: $(document).ready(function(){ $('#mycarousel').jcarousel({ itemLoadCallback: mycarousel_itemLoadCallback }); $(".photos").fancybox({ //call via menu 'frameWidth': 450, 'frameHeight': 300, 'hideOnContentClick': true, 'zoomSpeedIn': 300, 'zoomSpeedOut': 300, 'overlayShow': false, 'overlayOpacity': 0.10 }); }); and this function mycarousel_getItemHTML(url) { var url_p
jQuery Timepickr help
I'm using timepickr on a project, and I need to be able to grab the value that has been selected by the user. Can anyone shed any light on how I can do this? thanks.
[jQuery] Superfish menu help!
Hi, I am trying to use this menu on my website - i bought this template and im trying to implement the superfish menu on it, but its giving me major problems. I can see there is a drop down there that shows up on hover BUT its hidden and cut because of the table? i dont know - i tried to fix it with z-index solutions but maybe im not putting that property in the right place? any help would be GREAT - please help! http://www.dinzign.com/mace/ (its the menu on top with the red background)
This works correctly until the values are 100 or over?
Hi I've got this page with some simple numerical validation : http://www.nouveller.com/validation/ but when the number you enter into the input fields are 100 or over the validation fails... Any ideas?
[jQuery] Getting XML info problem
<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I find it really sad that jquery doesn't have a oficial forum out there... My question is posted in this one, I can't post it here cause the HTML inside will blow the e-mail: <a href="http://www.jqueryhelp.com/viewtopic.php?t=3616">http://www.jqueryhelp.com/viewtopic.php?t=3616</a> Can somebody help me with this, I'm really stuck... </td></tr></table>
[jQuery] Advice clone and live
Hi, i'm trying to clone a row in a table with events attached to it. I initialy have the following html code to duplicate : <tr> <td> <input type="text" id="users" name="users[]" class="users" /> </td> <td> <input type="text" id="expiration" name="expiration[]" class="expirationDate" /> <a class="addUser">+</a> </td> </tr> On the "users" input i have the autocomplete plugin and on "expirationDate" the datepicker one. When i started cloning, i had the html code alright but not the events. So i surrounded
[jQuery] Problem with Ajax Cross-Domain
Hi. When i try to make an ajax request like: $.get( "http:localhost:3001/account/create.json", SignUp.onComplete ); I get the following error in the firebug ( Net ): OPTIONS - 405 Method Not Allowed Is it related to cross-domain request?.
[jQuery] AJAX and ampersand
Is there any was to prevent ampersand from splitting up the passed data? For example if my data looks like: "This is some text&blah blah" If I pass it as data it will get split up at "&": This is some text blah blah Any solutions?
[jQuery] AJAX and ampersand
Is there any way to prevent ampersand from splitting up the passed data? For example if my data looks like: "This is some text&blah blah" If I pass it as data it will get split up at "&": This is some text blah blah Any solutions?
[jQuery] Problem with js redirect when using getJSON
Hi everyone, The problem I'm facing is as follows. I'm using a JSON call to check some data before doing a JS redirect to a different page. The redirect works but it's impossible to get back to the initial page using the browser's back button. The initial location is not being stored in the browser's history. This is the script simplified. If placed on http://site1.example.com/ when it's executed it redirects to http://site2.example.com/ but there's no way to go back to http://site1.example.com/
[jQuery] IE as native droptarget
You used to be able to use textarea as native droptarget even with IE. You could drag a link over textarea and the URL appeared when dropping. It seems during some point in last two months there has been an update to IE which prohibits this. Textarea is not a valid drop target for links anymore. When you try to drag an link to all you get is the "denied" mouse cursor (circle which line through it). Anyone know a workaround for this? -- Mika Tuupola http://www.appelsiini.net/
[jQuery] Jquery treeview jquery accordion
When i used jquery treeview plugin inside accordion plugin treeview styles not working? Best Regards
Next Page