[jQuery] xinha and form plugin
i'm trying to use xinha and the form plugin. for some reason, the form plugin is not grabbing the input. xinha works without the form plugin and the form plugin works for everything else on the page. any ideas? thanks. tim
[jQuery] pretty urls break my jquery app: how to adapt it ?
Hello ! My app is nearing the end so bear with me as the issue takes time to explain. However i'm looking for suggestions, directions, so your answer does not have to be that long :) So: We implemented pretty urls via apache's mod_rewrite. unfortunately that breaks my jquery code because in my js script i modify the <A> elements href attribute (so the links) to add some UI-related variables allowing me to control the interface and trigger some animations according to the user navigation. Long story
[jQuery] Safari 2 problem with append, html, replaceWith and preventDefault
Hi, I'm working on a project where I juse jquery 1.2.1 and I've come across strange behaviour when testing in Safari 2. When adding html code to dom elements with append, html or replaceWith Safari doesn't output the html code but instead outputs: function (m, a, b) { return b.match(^(abbr|br|col|img|input|link|meta| param|hr|area)$ ? m : a+">"; } Is this a bug? I've made a test page here: http://www.bureau-va.com/dev/safari2/test.html I also have problems with preventDefault(); . This doesn't seem
[jQuery] Can't get Innerfade working
Hi there! I'm trying to use the Innerfade plugin (from http://medienfreunde.com/lab/innerfade/), but it apparantly doesn't work with 1.2.2. Also, another user reports in the comments that it neither works with 1.2.1. Could somebody give a quick look at it? Thanks!
[jQuery] Plugin Validate - Input text array validation
Hi, I'm using validation plugin successfully in various forms, but I have a little problem with a form that have an array of input text like this: ... <label for="input_test_1">input_1</label> <input id="input_test_1" name="input_test[]" /> <label for="input__test_2">input_2</label> <input id="input__test_2" name="input_test[]" /> ... I have defined validation rules like this: $("#testForm").validate({ rules: { "input_test[]": "required" } }); but only the first element of the
[jQuery] how to make page onload quicker
Hi, I'm working on jquery from couple of months. I'm facing a variety problem which can be solved by jquery Pro's. I've a table with 6 colomns on each row. I'm looping through all of this rows on page load beacuse my framework requires to do that. I'm doing it this way for table with id="srTable".. var tbody = $('#srTable tbody')[0], trows = tbody.rows; var rows=[]; for( var i = 0, n = trows.length; i < n; ++i ) { var row = trows[i]; var col = $(".merchantClass",row); var
[jQuery] Help with a basic module
I'm trying to get an understanding of jQuery modules, so I thought I'd start simple (perhaps too simple...) Anyway, here is what I have: jQuery.table.js: (function($) { $.Table = { build: function(settings) { var table = $('<table class="testTable"></table>'); var headRow = $('<tr></tr>').appendTo(table); var rhcol_one = $('<th>' + settings.rhcol1 + '</ th>').appendTo(headRow); var rhcol_two = $('<th>' + settings.rhcol2 +'</ th>').appendTo(headRow); var row_one = $('<tr></tr>').appendTo(table); var
[jQuery] JQuery renders tables and divs after they are already displayed
Hi! I have a little annoying problem with jquery. I use CurvyCorners and ThickBox on my homepage. When a user clicks on my homepage the page loads and displays the content without rounded corners. After a second (approx) the corners get rounded. But the change "normal corners --> rounded corners" looks quite silly. You can "experience" this effect at http://www.internetschach.de. If somebody knows a possibilty to get rid of this I would be very glad! Best regards!
[jQuery] jquery 1.2.2, ifixpng plugin, and IE6
It appears to me that the new version of jQuery does a better job in fixing png images in IE6 when using the ifixpng plugin. With jQuery 1.2.1, png images would occasionally get distorted in IE 6. Can anyone think of why this might be?
[jQuery] $(document).scrollTop() is not a function
SOme days ago I have noticed about this error. Before everything works fine. I'm using latest jQuery and jquery.dimensions.js from SVN. Can you figure me whats can happend? Code is simple - var scrollTop = $(document).scrollTop(); ;)
[jQuery] A Beginner Question
Hi, Lets say I have a Definition List like shown below. <dl> <dt><a href="#">Item Group A</a></dt> <dd>Item 1</dd> <dd>Item 2</dd> <dt><a href="#">Item Group B</a></dt> <dd>Item 1</dd> <dd>Item 2</dd> <dd>Item 3</dd> </dl> What I want to achieve is whenever I click an <a> tag in <dt> I want to show <dd> tags inside the clicked <dt> I am using $(document).ready(function() { $("dt > a").click(function(){$("dd").toggle(); return false;}); }); But it opens every <dd>. Any help or guidance will be appreciated.
[jQuery] Explorer problems(as always) with hide/slide
This is my first message in this group. I hope someone can help me because i spent all the day trying to solve this problem. I have a table with half the rows hidden but the first. I hide the rows with jQuery because if someone doesn't have javascript enabled can see them. The problem is when the doctype is strict, ie7 renders the web like all the rows where visible, but they are hidden. It makes a huge gap between the table and the footer. Its hard explaining because i'm spanish, i think is better
[jQuery] way in tableSorter plugin to skip a th?
Hi This is my first time using tablesorter plugin. I have a table which has a row at the top. like table header saying what the table is for. then underneath that I have a bunch of columns. Since I think tablesorter sorts by <th> tags..it is messing up for me. Since my table Header (saying what table does) is also in a <th> tag. Is there a way in this plugin to skip a th tag and give it a unique id or something along those lines?
[jQuery] jquery native serialize Array/Object into JSON?
Hello Group, (jQuery changed the way I program js!) I just want to serialize an Array or object into it's JSON equivalent. My question is if there is a Native method to do it. ( $ (...).serializeArray() work for Elements, not for Arrays or Objects). If not, I will have to use json.js's stringify() Thank You, Iair Salem.
[jQuery] Thickbox Position is Too Low in IE 6
In IE 6, the thickbox loads very low on the screen - so low that the bottom of the thickbox is not visible. How might I raise the position of the thickbox?
[jQuery] Anyone wanna 'Jquer-ify' this date picker?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial size=2><A href="http://ajaxian.com/archives/new-twist-on-date-pickers">http://ajaxian.com/archives/new-twist-on-date-pickers</A></FONT></DIV> <DIV> </DIV> <DIV align=left><SPAN style="FONT-SIZE: 14px"><B><FONT face="Century Gothic"> <DIV align=left><SPAN class=159130414-05012007><FONT
[jQuery] Call php from a jsp page between 2 servers ajax way
Hi guys, I need to know if it's possible to call a php page, which is in Apache HTTP Server, using jquery ajax from a jsp page, which is in a tomcat server, and return an array of data. Appreciate if you can give me some advice. Thanks & Regards, Mark
[jQuery] OT: how to benchmark user hardware?
Hi friends, i have a question slightly off topic: my jquery-based experimental application is very visual, and renders quite well on recent pcs, but not so good on old ones: i'm moving too many elements for these old bastards. I would like to explore the possibility to adapt the content to the user's setup so that it degrades gracefully, and still feel responsive. so i'm thinking about a scheme like: 1/ detect user setup or perform some tests, to determine the available CPU, graphic Card, RAM, browser,OS.
[jQuery] jQuery Form ajaxForm submit to webservice gets redirected to web service URL output
Hello, If anyone can help with this I'd really appreciate it. I am using the jQuery Form plugin to submit the contents of a Form via Ajax to a Web Service. The Web service resides on a different domain to the main site. I simply want to submit the form info to the web service via Ajax, check the return value from the Web Service and on success then re- direct the user to a "Thanks for registering" page. The current behaviour is that the form is submitted successfully but instead of my success function
[jQuery] FixedTable Plugin - testing help requested
Hi all. I've been plugging away on a plugin that would convert a table to have fixed rows and columns. I've finally come up with some success at this. But need some help testing/debugging this under the various browsers. http://grover.open2space.com/files/dev/fixedTable/index.htm (the plugin file is at http://grover.open2space.com/files/dev/fixedTable/jquery.fixedtable-0.02.js ) Currently, it seems to be working fine in FF, but errors out in IE 6. (I'll be digging deeper on that later....) Once it
[jQuery] Fire Remote/History from div
Hi there, I've downloaded the Remote/History PI from Klaus Hartl, and it works like a charm. Only i have a little problem with it; What i'd like is to have it working by clicking links inside the actual DIV that gets "filled" with a new page. If the links inside that div directly call the hash - like <a href="#new-page"> - it works to load new-page.html in Firefox, but in IE7 the navigation is broken. I hope this kind of makes sense, and that someone can help me. Thanks, frizzle.
[jQuery] Add a callback to any method
I'd like to be able to do something like this //Extend Function for easy callbacks Function.prototype.andThen=function(g) { var f=this; return function() { f();g(); } }; $('div[class="rating"]').livequery(function(){ var $this = $(this); var opts = function(){ g.ratingOpts.self = $this; g.ratingOpts.curvalue = parseInt($this.attr("rate")); return g.ratingOpts; }(); $this.rating(opts); }).andThen(function(){ alert("I'm called after livequery has looped through all the
[jQuery] know the element clicked with form plugin
Im using jquery form plugin to make a pagination with prev next, page per page and order link, all inside a form, my problem is that im not using submit buttons , im using link with click event, but i need to know what "type" of class the link have or it value (is the same). With this value i add it to the post form request so in the php I parse this and return the correct value. Thank in advance. This is the js and the html form part function pagination() { $(".prev_next_form a").click(function()
[jQuery] Barcode reader with jQuery
Hi Guys, I am currently working in some method to capture input data using a bar code scanner, it's quite simple since the scanner presses the enter at the end of the reading, but I'm planning to capture that enter to execute some other jQuery function, or moving the focus to a new input, but i'm not sure how to do this, so you guys know where can i get this information? Thanks a lot! Camil
[jQuery] How to load form fields with JSON
I'm noob in Jquery, can you show me better way how to load form with JSON - plugin or anything else... ============================================================================ I have JSON [{"Id":5},{"Instance":"Hello there Franky"}] and I want to load form where key of JSON object is ID attribute of the field. I came up with this: <script> function loadform(formid, url){ $.getJSON(url, function(json){ var forma = $('#'+formid); for (var i = 0; i < json.length; i++) { for
[jQuery] Calendar inside a Tab3
Hi I'm working with tabs3. In one tab im loading a jsp with a form inside. i'm trying to use datepicker inside the tab but i cant do it. I can make the calendar works in any input text the index but no in the tab that i have. Here is my code, im using it in the index, then i copy and paste in the jsp that i load in the tab but nothing happen. What i should do to reach the elements inside the tab? <link rel="stylesheet" href="../css/ui.tabs.css" type="text/css" media="print, projection, screen"> <link
Call php from a jsp page in another server using jquery
Hi guys, I need to know if it's possible to call a php page, which is in Apache HTTP Server, using jquery ajax from a jsp page, which is in a tomcat server. Appreciate if you can give me some advice. Thanks & Regards, Mark
[jQuery] Adding CSS-property & therefore traveling the DOM - Problem.
Hi! To get this right, I'll post the html-part first: <div class="memberarea"> <div class="memberpic"> <a href="#"> <img src="the_image.jpg" alt="Mr. X" title="Mr. X" /> </a> </div> <div class="memberinfo"> <h4>Mister X</h4> Info 1 Info 2 Info 3 <a href="##" class="email">Mister.X@campusrelations.de</a> </div> </div> Now, I'd like to add a css property (or even better: a:hover-state)
Read/unread popular topic icons
It might just be me, but the orange envelopes for read/unread topics are very similar and I end up reading the same topic like 3 times each.. lol
[jQuery] gFeed: Pre-FeedControl()?
Hi, I would like to take a gander at the gFeed plugin before it was converted to use the FeedControl() goodness... Anyone know where I could download older versions? Thanks! Cheers, Micky
[jQuery] SlideToggle crashes in IE6, 7 when used within a table
Any workarounds? This seems odd to me. See here: asthmatickitty.com/main_john.php (see artistlist on right) Thanks! John.
[jQuery] clone() problem in IE7
Is there an issue using clone() in IE7? I'm not having trouble in Firefox 2 but IE7 seems to ignore this method.
[jQuery] Jguery and form plugin
I am trying to use the jquery form plugin with a djano form. The form works if i use ajax submit, but has to refresh, I am trying to catch the results without refreshing the page. When i put values in the form and submit the page does not show the result but I am using firebug in Firefox to veiw the console result and I can see that it is returning the result. The result in firebug are below. Sorry if my question is unclear I am new to django and javascript, basically it seems to be working, but
[jQuery] UI Dialog
Hello, I'm trying to get the UI Dialog box implemented in a couple of the items that I am currently working on, but am apparently doing something incorrectly. Here's the relevant code that I'm testing... <link href="css/core.css" type="text/css" rel="stylesheet" media="all" /> <link href="scripts/jQuery/jquery.ui-1.0/themes/flora/flora.all.css" type="text/css" rel="stylesheet" media="all" /> <link href="css/main.css" type="text/css" rel="stylesheet" media="all" /> <script src="scripts/jQuery/jquery-1.2.1.pack.js"
[jQuery] [jqValidate] - Client Side Validation with jQuery
While refactoring all the Javascripts in poMMo I decided to rewrite my old client side validation library into something more jQuery like. The result could prove as a useful form validation plugin to someone. A rudimentary demo has been posted to; http://dev.iceburg.net/jquery/jqValidate/ jqValidate is unobtrusive and standards-compliant. It supports multiple independent forms per page. If there is any interest; I think the next steps would be to make validation rule sets easily extensible as well
[jQuery] Accessing URL params direct in JS files?
Hi, This is perhaps bordering on a general JS question, but here goes: I'd love to pass GET params (&dog=1&cat=2 etc) to JS files, not just HTML files. For example, <script src="myscript.js?id=4"> Is the id param then available inside myscript.js? Thanks!
[jQuery] Change div
Hey, I'm wanting to change a div to another one onclick and then back again when its clicked again. I've managed to get it to change the div on the first click but clicking it again doesn't do anything. Here is the HTML <div id="maximize" onClick="onMaximize()"></div> <div id="restore" onClick="onRestore()"></div> and the jquery code $(document).ready(function(){ $('#maximize').click(function () { $(this).replaceWith("<div id=\"restore\" onClick=\"onRestore() \"></div>"); }); $('#restore').click(function
[jQuery] Help- looking for motion/animation help (specifically, hovering)
But not the mouse hover meaning. More like levitation (grin) - think UFO 'hovering' over a house... Or more specifically, a swami/guru/magic person hovering in place with slight up/down/left/right motion. I am certain there's a loop or an interval, to keep things moving, and a 'bounding box' (don't go X pixels from center starting point) to keep things from floating away. But I just can't see the forest for the trees on how to implement it. ANY pointers would be humbly appreciated, and I PROMISE
[jQuery] Jeditable + Json + Multiple Select
Hi everybody, excuse my bad english... I'm using jEditable plugin, it works fine, but I have a little question... I have to use it with a dynamic set of select input type. This is my PHP code with the Json string: { message: " <dl> <dt>1</dt> <dd> <div class=\"optionsList\"><h4>First</h4> <span class=\"clickOnThisSelect\" id=\"select_1\">Value One</span></ div> <div class=\"optionsList\"><h4>Second</h4> <span class=\"clickOnThisSelect\" id=\"select_2\">Value Two</span></ div> <div class=\"optionsList\"><h4>Third</h4>
[jQuery] Poor Firefox performance (animations) - with link
Hello all, For the past weeks I've been working on a project which I think now is ready to show. Bear in mind that I'm no programmer whatsoever... I "learnt" ASP and jQuery for this project and I'm sure this project could be done much more effectively than I did. From what I've tested it seems that it works perfectly and smootly in IE6 (it's the only IE I have here to test) but unfortunately it doesn't work as smooth in Firefox. The animations are not smooth. Well, enough talking, see for yourselves...
Next Page