Retreive and pass the path of uploaded image for processing
Sorry if this is not the right forum. Am using jquery form plugin with cakephp. Below is what am trying to achieve. I have a form with several elements as well as a file upload element. I want to triger the onchange event of the file upload element and pass the form values including the image to an action defined in my cakephp class. The action will then save the image and return the image path to my jquery for display using ajax <?php echo $form->create('Owner', array('enctype' => 'multipart/form-data','id'=>'owner_file')
Automating a script/plugin
Hi, I have a question about a little plugin/script I found and modified. If you could offer some advice I'd really appreciate it. I am not a javascript programmer so my question may be quite elementary? I am playing around with a fade hover script. The original script worked great when dealing with only images inside of a container: $(document).ready(function(){ $(".folio img").hover(function(){ $(this).fadeTo(300, 0.1); }, function(){ $(this).fadeTo(300, 1.0); }); }); However, what I wanted
[Autocomplete] How to fill an input after a selection?
Hi! I've a form with 2 input text and i use this autocomplete plugin (http://docs.jquery.com/Plugins/Autocomplete) on them both. I would fill the 2nd input text (with a record selected in the database) when the first input is (auto)completed and vice-versa. Is it possible to do this? And how? Thanks ;)
image gallery plugin
hi is there a image gallery plugin where in, the first row will contain the original size of an image and in the next row below, there will be thumbnails of images, and when a user clicks the thumbnails the original size of the image would appear above also since there will be more number of thumbnail images there needs to be an option to scroll the thumbnail images horizontally in the left and right side also when the thumbnail is clicked instead of the original image simply appearing it would be
Getting Value of Autocomplete
Hi All, I'm using the Jquery UI Autocomplete plugin, I have it up and running and working fine, however I need to get the value of the textbox into another textbox (so I can submit the form). Currently, when selected, the actual textbox has no actual value "value=' ' " and will therefore not send though a form. The solution ( I think) is to get the textbox (with the autocomplete) "cloned" into another text box, as a value, so this can be sent though a form. But I dont know how to do this. Thanks,
Classis ASP integrating Async Treeview Plugin using getJSON. Stops working when using response.write [variable name] instead of simple JSON string
Hi all, I've loved using jQuery these past few months, but I'm really pulling my hair our here. The following is the "endpoint" asp code that gets called to populate my treeview: <% rootid = request.querystring("rootid") json = "" set Conn = server.CreateObject("ADODB.Connection") Conn.Open strProvider if rootid = "source" then json = "[" set RS = Server.CreateObject("ADODB.RecordSet") Sql = "select categoryid,categoryname,(select count(*) from tblcategories where
Jorn's autocomplete - setting options
I have the autocomplete working on my local machine, but I can't get the minChars to work correctly. If I set it to 0 or 1, it works just fine. If I set it to 2 or higher, the page indicates that it's doing something when that key is hit, but no autocomplete suggestions appear. If I delete the 2 and replace it with a 1, everything works. Basic setup: When the page first loads, I have a jQuery ajax function grab the data to use for the autocomplete from a server method. This method returns data
Flexbox 'blur' and 'focus' functions
Hi guys, the 'blur' and 'focus' functions don't seem to work for the Flexbox control. Am I correct in this? Are there any workarounds ??? thanks in advance Tony
MultiFile Initialization
Hi, I've been trying out the MultiFile plugin for jQuery a while, but got a question regarding initialization. I'm trying to implement a preview function on a web page. If a user after been previewing the page, decides to edit it again, I would of course like to polulate the controls with the values entered before. So, what I wonder is, is it possbile to initialize the MultiFile plugin, so that it accepts a predefined list of files (file names), and render them out below the input box, just like
Can the flexbox control be made to 'drop-up' instead of drop-down
Hi guys, I am using the flexbox control in an application I am developing and was wondering if the flexbox control can be made to 'drop-up' instead of drop-down. My controls are near the bottom of the screen and I would like the list to go up instead of drop-down. thanks in advance Tony
Can't get Superfish to work in IE6 using WordPress
Hello! I've been combing previous questions about this, I've tried all of the fixes I've found, and I still can't get my superfish menu to work in IE6. I think I'm finally at the stage where I'm no longer supporting IE6, but this client has IE6 on her home and work computers, and she's not taking no for an answer. :( (Seriously. Upgrade already. Grrrr) The url is: http://nellalongo.wp.getelle.com/ Any suggestions at all? Both my HTML (Strict XHTML) and CSS validate, so I don't think it's a coding
Superfish - Menu with background overlay
Hello, first of all, Superfish is perfect. I love it. I want to put a overlay (like black background in lightbox) behind the Superfish navigation. It should appear with the first hover and should hide, if you don't hover the menu. I tried to make this with the jQuery function hover() in the Superfish onInit Event. In the Firefox it works perfect but in the IE7 it's now very buggy. Can I combine the hover Method with Superfish or is there an other solution, how I can check the first hover and the
ShourCut Plugin Problem
Hello All I Am using a Shortcut Plagin with jQuery. To add a Shortcut i simply use shortcut.add("Ctrl+A",function(){ alert('A is Pressed') }); and to remove a shortcut shortcut.remove("Ctrl+A"); but whenever i am using this code to remove a shortcut outside the jQuery Bode it gives an error oh "Object Expected" But inside the jQuery Body it works fine
Tablesorter plugin - more tables and pagers on the same page
Hello, I try to implement multiple tables with tablesorter plugin for jquery. What I did was to generate these tables with different ids, something as id="tblTransfers_1", id="tblTransfers_2", etc.. But I cannot figure out how to add different pagers for each of them: <div id="pager"> <form> <img src="/images/navigare/first.png" class="first"/> <img src="/images/navigare/prev.png" class="prev"/> <input type="text" class="pagedisplay" size="5" readonly="readonly" />
jloupe not working in IE - error with handler PLEASE HELP
I am very new so be gentle... I would appreciate any help. My image hover from jloupe works in firefox and safari but is buggy in IE. It won't hover when the page loads but when you browse away and come back it does. I have an error that I found with firebug on this line but I have no idea how to fix it in my source code The error seems to be showing up in line 1561 (see below) if ( !handle ) { 1558 eventHandle = function() { 1559 // Handle the second event of a trigger and when 1560 // an event
jQuery Cycle using Anchor tag - Image Doesn't Display
I am trying to simply add the anchor tags around my img tags but when I do this the images with the tags around them do not display. I'm thinking it is a CSS issue on my site because when I just pull the slideshow out to a separate page it works great. Here's my working example: http://www.basherdesigns.com/cycleAnchor.html When I add the <a> tags around the images on my main site, the images then do not display. Here is my main site: http://www.basherdesigns.com/ I would love any tip or advice
Superfish Vertucal RTL for farsi language
Hi everybody I want to change superfish menu in way that fly out sub menus opens in left side of menu there is an example of such menu here [submenu]=<[Menus ] Regards mzz
jQuery Cycle plugin, preview of previous and next slides.
I am building a very basic slideshow using the jQuery cycle plugin using 2 buttons (previous and next). Is it possible to assign to these buttons a preview of the previous and the next images?
DatePicker Plugin Event Interface Problem
The DatePicker plugin allows customization of the display of each day inside the calendar with the use of the beforeShowDay event. This will work only assuming the information about those days is known before the callback is actually called, which is not ensured when this information has to be pulled from an Ajax request. If an Ajax request is made when the month and/or year selection changes to pull data for evey days in the newly selected month, then this Ajax request is competing with the beforeShowDay
Tablesorter question
Hi all, I am wondering is there a way to make the entire rows in a tablesorter table clickable. This is just for usability since its easier to click on a row rather than on a certain link. Thanks!
jquery.form.js, Opera and file uploads.
Hi, I was fixing a problem where file uploads with the jquery.form.js didn't work. I found the fix in the newer release where using a timer the dom is checked 50 times to see if the upload finished. After some investigation I suspect that the problem is not timing but that Opera triggers the 'load' event on receiving the 100 continue from the server. This means that the solution is not retrying 50 times, but just waiting for the second load event. Any opinions? - Marc
Calculation plugin with Multiple Dropdown field
I'm using the Calculation plugin with regular dropdown fields, but I need a Multiple Select field. Changing the Select element to Multiple is not enough - it stops working altogether. I need to add the various options that are selected and send them to my function, or have the function add them - not sure how to proceed. Can anyone help? Thanks I'm binding my dropdown elements to the function with "change" - this solution courtesy of oxodesign $("input[id^=item_]").bind("keyup", myFunction); $("select[id^=item_]").bind("change",
Write own JQUERY Plugin for multiple instances
Hi there, I'm a newbie when it comes to writing plugins, but I like to learn . I got the following wish. I want to write a plugin that turns a "div" with an id to a uploadform for an image file. By setting options I want to pass values for height/size/extension etc. I want to be able to use the plugin more then once on a page. for uploading a photo and for uploading an Avatar. I made this, but this only works for the last called div. This means that both divs are generated good, but the submit event
Using live on editaleField plugin
Hello all, I'm using editaleField, a plugin for jquery. My code is like this: $("#mytable tbody td.editable_field").editableField({ onSubmit:function(){ old_value = $('#old_value').val(); new_value = $('#new_value').val(); alert(myid); } }); How can I change this event using live?
Calculation Plugin - Using with SELECT fields
I want to create a form based on the Calculation plugin, using the price * quantity example found here: http://www.pengoworks.com/workshop/jquery/calculation/calculation.plugin.htm But I want to use SELECT fields (drop down lists) rather than text input fields. I've tried passing the variable to the recalc function with onChange and determining the variable inside the function with: var quantity = document.getElementById('select').selectedIndex; but I can't seem to get it to work. Obviously with
(Validate) Paste Issue with (ichars)
Hello geeks, I've used your useful plugin to effectivly prevent typing in Arabic charecters in a form using "ichars" function. However, this function in this validation plugin has a bug. It allows pasting fobidden charcters! I believe an aditional "onblur" check might solve this bug. Right? Pls. advise on how and where to fix this. Cheers, Ahmad Bagadood
UI tabs: tabs not shown
Please check here: http://www.jux tar.nl/products.php?categoryId=1477&productId=9479 under the link "TESTLINKTAB", I want to show some tabs, but the tabs simply dont show. I've copied the code from here: http://www.stilbuero.de/jquery/tabs_3/ Thanks!
Tablesorter Pager Plugin - calling an extra event after changes
I'm using the Tablesorter plugin with its companion Pager plugin, and also with the uiFilterPlugin found at http://gregweber.info/projects/uitablefilter. The basic Tablesorter without paging works well with the uiFilter, but once I add paging I run into problems. The issue is that the uiFilter applies click events to each appropriate td tag, but each time the Pager changes the table the td tags disappear and reappear. The solution I came up with was to add a click event to my Pager div which will
jqDnR dragging problem with Jquery 1.4
With jquery 1.4, I am experiencing a problem with the jqDnR plugin. I am using this plugin to make an element draggable. One of the problem is that the dragging function do not work with jquery 1.4 (but worked well with the previous version of jquery). It seems that in the plugin, there is somewhere: "$().mousemove($.jqDnR.drag).mouseup($.jqDnR.stop);E.css({opacity:0.8});" and $() is no longer valid. So I put $(this) instead (or $("#rubrique"), which is the id of my element) and it works a little
Expander plugin question
HI, I want to use the jquery expander plugin on a div with multiple paragraphs <p> in side it. This works fine by simply omitting the p selector after specifying the div class as follows: $('div.expandable').expander({However this also breaks the fadIn functionality that only seems to work when the p selector is used. If I include the p selector then the plugin looks at each paragraph separately, truncating each one according to the slicePoint - so no use to me! Anyone have any suggestions?
does the validation plugin work ok with jquery 1.4
Hi there, just wondering if anyone has been using the validation plugin with jquery 1.4 http://plugins.jquery.com/project/validate
Issues with Galleria Plugin
Hi, I'm using the Galleria Plugin and I have 2 things I'd like to do. One of them somebody posted on here but it was never determined. I understand CSS pretty well, and I can understand some Javascript, but I can't program in it. 1. The first thing is I'd like to set it up to have the option that when you click on the main image in the gallery it links you to another web page (right now the only option is going to the next image). If possible, I'd like to be able to specify which type I'd like to
jQuery 1.4.x killing livequery?
Since updating jQuery livequery seems to only work intermittently. When content is loaded via AJAX (using jQuery) livequery doesn't seem to pick up the event. However, if i trigger another event (that has a method associated with it) suddenly the livequery "fires" and applies it's magic. Very odd...it's happening on the PC in both IE and FF and on the Mac in Safari and FF...it's making me nuts! Thoughts?
Autocomplete Always Shows Only One Item
I am using JQuery.Autocomplete, specfically this one. I cannot get it to display more than one item in the dropdown list. Using Fire I can see that my GET is returning more than one item. Here is an example of exactly what it returns: AQULplaoXS-174|AQULplaoXS-27|AQULplaoXS-553|AQULplaoXS-565|AQULplaoXS-502|ainfutpyiW-542|ainfutpyiW-324|ainfutpyiW-669|ainfutpyiW-893|ainfutpyiW-168 The context type is text/html. I have tried all kinds of different options. I have stripped my page of all formatting
Help needed with JQuery plugins
First time JQuery user and struggling to get the demo working for the jquery lightbox into a new asp.net page. Can someone give me some guidance please or a quick walkthrough? I have tried Gallerio and gave up but now I'm trying the lightbox. I just need to work out how to implement these as they look really good.
(validate) will not submit to server
I have a form which uses the calculate and validate plugins. It also allows the user to dynamically add/remove rows of form elements (each with unique ID/name attributes). If I put $("#reproform").validate(); at the top of the $(document).ready function block, the validation works -- but the submit button never submits the form. If I put the validate() at the bottom of the function block, the submit button submits the form but the validation doesn't work. At one point I had a custom validation rule
TableSorter not working with Ajax
The TableSorter script looks to be just the ticket for my project. However, I'm having problems getting even basic functionality to work with a table generated by Ajax. I'm running Firebug and am getting no errors. I have the sort button gif files in all these directories, but they're not showing up: /var/www/html, /var/www/html/amazon, /var/www/html/img. However, TableSorter works fine if I populate the table in HTML. The problems seems to be when populating the table dynamically using Ajax. My
Use a href and onclick
I'm using the following to href a word to bring up a sticky <a href="faqs.cfm" rel="faqs.cfm" title="FAQ" class="sticky">FAQS</a> This links resides in a <td>. I want to make the TD clickable using something similar to: onclick="location.href='faqs.cfm';" within the TD. The js is: <script type="text/javascript"> $(document).ready(function() { $('a.sticky').cluetip({sticky: true}); }); </script> How can I write it to use onclick to activate same function?
Disable a row from being sorted
Hi i am using the tablesorter pluggin and it works perfectly. My only problem is: I am adding a blank row at the bottom of my table to insert new values and i need this row to stay at the bottom and not be sortable.Can anyone help? Thanks
Jqgrid editing
Hello to all, I was stucked in jqgrid editing. I downloaded the jqgrid plugins. Can someone teach me how to make jqgrid with editing works. Thanks.
Next Page