datepicker question
Is there anything in datepicker that allow me to block some days? like this i wont to allow users to select anyday except saturday and sunday, and hollydays, and other no workday
How do I fix the button size on a button toolbar?
I haven't been getting an answer at the oscommerce forums, so I figured this would be a good place to ask. If you look at my store at the link below I'm trying to get the button toolbar right underneath my logo to not only fill up the container it is placed in, but to also remain fixed in that position, no matter what the customer's screen resolution or zoom is set to. If you look at my site and zoom in and out, you'll see the black gap become bigger and smaller and might understand what I'm referring
How do I remove the default trigger element in UI Accordion?
I need to know if I can remove the default accordion trigger element, which is currently set as <H3>. I know you can declare other elements or their id/classes as triggers, but I need to remove the <H3> element from triggering the accordion function. The reason is I am setting up a master CSS sheet that needs to be viewable in an HTML environment. The CSS styles will, of course, include all the <H1-6> elements. Clearing this trigger will allow the <H3> CSS sample element to show properly. I want
Swedes do their taxes using jQueryMobile
Hi, I've been part of this project as a consultant for many years bringing web, SMS and various new features to the webapp each year. This year one of the new features is a smartphone client built using jQueryMobile wrapped in a native iOS-app / Android-app. You will not be able to try it out as you need personal credentials only available to Swedes. However, a bunch of screenshots are available in Appstore and Android Markets. The app has been in the top spot of the swedish AppStore last week however,
desperate for help with not refreshing page
i've been trying to solve this on my own for over a week, i'm no expert and have read tutorial after tutorial but i'm at dead end and ready to give up. i have a search form that a user selects item from dynamic list hits the submit button and it returns each matching result on same page in an update form, i have 2 checkboxes in update form that updates the DB when 1 is checked, this all works fine until i check the checkbox the data updates ok but all remaining update forms are removed because
Using jQuery to replace form select of large list of users.
I've been told that jQuery can do this. Simple form which includes a drop down list of users obtained from a database which is displayed using a form select entry with options for each entry. problem is, the list can be quite long, upwards of several hundred. In PHP, I added a filter box (text box) which the visitor can enter in a substring that is then used to obtain and display only matching entries. Works great, but it needs to reload the page to do its thing. I've been told that jQuery can
Suggestion: .nextWrap() and .prevWrap()
I don't speak english natively, but I'll try to explain it as clearly as I can: The functions would work like .next() and .prev(), but with a wrap when it reaches the last (or first) sibling: (function($){ $.fn.nextWrap = function() { var $next = this.next(); return ($next.length === 0) ? this.siblings().first() : $next; }; $.fn.prevWrap = function() { var $prev = this.prev(); return ($prev.length === 0) ? this.siblings().last() : $prev; }; })(jQuery);
jQuery Form plugin for dynamically created forms: problems
Hi, Web-code newbie here. I've been trying to use the jQuery Form plugin, unsuccessfully for now. No mail is sent from the form on hitting submit, and there appears no output from the php file in the targeted div (neither 'mail sent!' nor 'invalid e-mail address' etc.) There are two complications: 1) The forms are created on the fly long after the page has loaded, depending on user input. Meaning there might be a <form id="AppleForm"> and a <form id="PearForm"> if the user happens to ask for apple
jQuery Cycle and jCarousel - not working together on Chrome/Safari
I am using both jCarousel and jQuery Cycle plugins on a website along with jQuery 1.5.1. These plugins play nicely together on all browsers except Safari/Chrome. On Safari/Chrome none of the plugins load. When I disable one of them, the other works fine. This code works completely fine on IE6-9 and Firefox (Mac/PC). Grasping at straws I've added jQuery.noConflict() to both plugins but that had no effect. I've googled the error codes I'm getting, but I can't find any more meaningful pointers to
How do i stop mobile safari from dropping down its URL/Loading bar whenever i submit an ajax request?
Hi Newbie here. I'm using the following code to send some data to a server whenever I click a particular button using jquery mobile. $('#btnDoorClose').click(function(evt) { evt.preventDefault(); $.ajax({type: "POST", url: "remote.php", data: "trigger Door:Close"}); }); But whenever I press it on an iphone, the url bar drops down for a second and then goes away. How do I stop the URL bar from coming down at all? All the information about "loading" or "busy indicators" online seem to be about creating
One link needs to toggle different elements depending upon the url when it's clicked - HOW THE HELL?
I have a single page which uses tabs to segment the content. Alongside the tabs themselves is a button for 'Help'. I'd like this button to open a different DIV depending upon the tab that is currently being used. For example, if I am on a tab for 'Ben', if I click the 'Help' button I want the 'helpBen' DIV to slideToggle. If I am on a tab for 'Paul', when I click the 'Help' button I want it to open the 'helpPaul' div. Some extra needs: 1. switching to a different tab should close the currently open
Div width expands after animation effect in IE7
NB - This issue only occurs in IE7 and IE8 Compatibility Mode, everything is fine in FF and IE8 Hi everyone, I posted a little while ago http://forum.jquery.com/topic/question-about-effects-in-ie8 about a problem I was having with animation which was caused by my use of inline-blocks. Someone pointed out at the time that my site wasn't going to work with older versions of IE and i've just gotten around to fixing it. My Site: http://www.gardengenius.co.uk The Problem: The nav menu at the top
Cycle: cannot click pager.
I have used the cycle plugin, but cannot seem to get the pager functioning right. I am not able to click on a specific pager image, in this case a dot, and job to the corresponding image. Why? And why is only some of my pictures viewable? I can see them all in my offline version. My site: http://web.me.com/kafri/kasperfriis/ Hope you can help me.
jquery expander plugin not working
the jquery plugin is not working on all the tags as its supposed to be. here is the code <script type="text/javascript"> $(document).ready(function() { // simple example, using all default options $('.expand_hide').expander(); // *** OR *** //override some default options $('div p').expander({ slicePoint: 5, // default is 100 expandText: '[...]', // default is 'read more...' collapseTimer: 5000, // re-collapses after 5 seconds; default is 0, so no re-collapsing
Uploadify - Passing renamed file back to form
Hi, jQuery noob here! I'm trying out uploadify to upload images & files. Got it all working fine and got it so that it inserts the filename as a hidden form element so I can grab the filename on post and insert into the database - <script type="text/javascript"> $(document).ready(function() { $('#file_upload').uploadify({ 'buttonImg' : 'images/browseBtn.png', 'height' : 21, 'width' : 84, 'wmode' : 'transparent', 'scriptAccess'
Posting canvas data url along with other form data
Okay so please can somebody tell me what Im doing wrong here. Im trying to convert the contents of a canvas into a data url and then post it along with other inputs to the controller in order to save an image. The PHP: <form method="post" accept-charset="utf-8" action="<?php echo ($base_url . 'template/new_template'); ?>" name="form" id=form" /> <?php $edit_template_code = array( 'name' => 'edit_template_code', 'id' => 'edit_template_code', 'value' => set_value('edit_template_code')
JQuery / JQueryUI upgrade breaks Tabs AJAX calls (WRONG_DOCUMENT_ERR)
I have a chrome extension that works fine. I went to perform some additions to the functionality, but though i would first upgrade the Jquery and JQueryUI to the latest releases and retest. This breaks the extension. I have a Tab panel with 4 tabs, 2 tabs are static and 2 are href'd. The 2 href'd tabs fail to load (remain blank) and in the chrome console i get the WRONG_DOCUMENT_ERR message. I am moving from V1.4.2 and V1.8.2 (UI) and was taking them up to V1.5.1 and V.8.11. You can see a sample
List-based menu dissapears on first rollback to main-button
Hi guys (and galls), I'm having a weird and ilogical problem. I'm building a site with a unorderd list-based menu. On mouseenter on the button with a submenu under it, the submenu fades in and should only fade out after leaving the submenu and/or the main button. So if i roll from submenu to the main button, the submenu doesn't fade out. Only problem is, that on the first roll-back (lets call it that) the submenu dissapears (which it shouldn't do). On further roll-backs it works as expected.
help using tooltip with swf or flv file*
I am trying to figure out a way to have the rollover load a .swf or .flv file (flash) very small files. here is an example of a site that does this: http://www.videocopilot.net/tutorials/ - if you roll over the tutorial thumbnails, you will see a flash file load. - is this possible to do with tool tip? or is there another plugin specifically for this function?? any help is appreciated. thanks!
Licensing Issue with EPUB
Hello. That is, I'm trying to implemt jQuery within a epub. On a technical poit of view, It was successed (jQuery UI is succesfully worked!!), But on a licensing point of view, I'm very confused. As you know, epub is distributed as one archive file, jQuery is archived as one file with other contents. How can I license these EPUB files which containing jquery? And can I sell such as EPUBs?
urgent please : How to get all child control ID or attribute or tag name in parent Div
I have a Div control d1 and in this div I have furter div and span control.I want to get a list of all element in an array. please help??? <div id="d1"> <div> <div id="h1"> <div id="h2"> <span id="s1"></span> </div> </div> </div> <p> </p> </div> output arrary1[0]=div arrary1[1]=div arrary1[2]=div arrary1[3]=div arrary1[4]=span arrary1[5]=p
Radio buttion - display data on click
I am trying to use radio buttons to display data received from PHP via a MySQL database. The following code works in that it will indeed display the data upon clicking a choice. Subsequent clicks on the other two choices in the same session, however, do not result in a display of anything but from the original click. The new data is recovered (as verified by firebug) on subsequent clicks but is not displayed. I've tried variations of .hide(), .show() and .toggle() but I'm obviously on the wrong track.
Loading page within an allready loaded jquery page!
i was wondering whether it is possible to load a second page from a already loaded page using jquery, i have already done loading the first page, in this case its a gallery i can load all the images i want as thumbs now what i want is to click on em and a pop window that will show image details, i have the script for the pop window too, but when i combine the pop window with the gallery loaded with jquery the pop doesn't work . <a href="detail.php?iid='.$iid.'" class="ajax"><img name="" style="margin:2px;"
"jQuery broken - AJAX success call related… Really strange error from basic code."
http://thomee.tumblr.com SCRIPT438: Object doesn't support this property or method jquery.js, line 1374 character 5 which is line: elem[ jQuery.expando ] = id = ++jQuery.uuid; http://stackoverflow.com/questions/5440614/jquery-broken-ajax-success-call-related-really-strange-error-from-basic-code I've tried all sorts of things... Previous to now, I've written it several different ways and I thought this would be best way but now this. IE actually reports an error... FF seems to pretend there
Editing the css of the last 2 items
Hello jQuery developers, I have this case: 1) A <div id="box"> that contains a random quantity of floated <divs class="item">. 2) Each <divs class="item"> has a border-bottom to visually make a separation among the top and bottom elements. 3) Every two <divs class="item"> forces a line-break, like in my example. 4) I need to remove the border-bottom of the last divs located at the bottom. There are two posibilities: 1- there is a single div 2-or there
Show/Hide divs for multiple selects
I have a jquery function that will show or hide a div id="hide1" based on the result of a select id="ticket1" $(document).ready(function(){ $('#hide1').hide(); $('#ticket1').change(function(){ if(this.value == 'adult'){$('#hide1').hide();} if(this.value == 'child'){$('#hide1').show();} }); $("#ticket1").change(); }); It works well! But my script actually clones elements of the form so a user could be selecting adult or child for a number of tickets - ticket1,ticket2,ticket3.... How can
.disable(event_types), .enable(event_types)
disables handlers for event type(s) and if no argument is passed it disables/enables the element
a:hover effect
Hello ! I'd like to know how can i make a hover effect like the bottom frame one ( fade from white to bloody red ) http://www.bryanboy.com/bryanboy_le_superstar_fab/2011/03/the-power-of-flowers.html Thanks .
jquery cycle plugin captions/ wordpress theme
Hi there, I'm really new at java script programming so please bear with my ignorance. I installed the portfolium theme by wpshower in my friend's site (http://boyarskymurphy.com/wordpress/?portfolio=christ-church-tower) and it works well, but the theme doesn't allow to display captions. I looked at the example on the jquery cycle site for displaying the metadata but i don't seem to integrate well the two snippets of code. Here's the code from wpshower: <script type="text/javascript">
nested accordion only shows one option i.e. not fully expanding
Hi, I'm trying to setup a jQuery UI nested accordion for site navigation. The nested accordion opens/expands showing only one option, while there are two in the child according list. I cannot figure out what the problem is here. I've tried all the options as clearStyle: true and autoHeight: false, but than the accordion is not working at all. Can anyone help or is this a known bug ? this is the code: jQuery(document).ready(function(){ $("#accordion").accordion({ active: false, header: 'a.head',
Tabs in jQuery Mobile
Are there some widgets such tabs in jQuery Mobile? I 've seen tabs in Dojo Mobile.
Multi-Login Script - Help
I’m trying to create a ‘Multi Login System’ that connects to two different websites which as two different input field variables using a 'Dropdown Box' and once it's onChange it changes the name="" field to the respectable fields as mentioned below. Website 1 Username Input Field: username Password Input Field: password Submit Input Field: login Website 2 Username Input Field: username Password Input Field: user_password Submit Input Field: user_login I know this can be accomplished using, php, javascript
jQuerty functions.js what is this for ?
Hi, here is the code I have in that file. I started reading the tutorial just in the beginning and there was explaining where I need to write my functions after the ready event. Ok but with with HTML5 Reset I have this index.html page setup with jQuery: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> <script>!window.jQuery && document.write(unescape(''))</script> <script src="js/functions.js"></script> And I was wondering why do I have this functions.js
retrieve the selected value of a combo select
hi! I have to retrieve the selected value of a combo (select) In the page there are 2-3 dynamically generated select with the same class $ ('select.inputboxattrib') and belong to different forms but when i do idatt = jQuery ('select.inputboxattrib'). val (), alert (idatt); it shows me the value of the first select, even if I selected the second one I tried with $ (this). val (); but when I insert it does not work anymore maybe becouse there is Each but otherwise nothing at all please give me a
Banner Cycle plugins
Hi all, On IE8, when the page is loaded with a banner cycle plugin inside ... (I use the basic layout with a simple banner, with 5 images cycle) => All the images are displayed shortly, then only the first one is displayed alone... Why displaying all the image ? This is normal ? How to change that .. regards,
Why this always return "undefined"
Hi every, I have this two HTML select (consigna_id depends on manufacturer_id selection): <select id="manufacturer_id" name="manufacturer_id"> <option selected="selected" value="0"> --- Ninguno --- </option> <option value="6">Júpiter Ediciones 9. C.A.</option> <option value="2">Proveedor 1</option> <option value="3">Proveedor 2</option> <option value="5">Proveedor 3</option> <option value="4">Proveedor 4</option> </select> <select disabled="disabled" id="consigna_id" name="consigna_id"> </select>And
split button ajax function example
I wrote a function to streamline the creation of drop-menus that conform to jQuery UI (a split button with drop-down). Simple menus based on an array of strings are possible. As are ajax-driven menus. And I've allowed the linking of menus -- a sub menu that can update (via ajax) when a choice is made on the primary menu. http://chasefox.net/jqui/drop_menu/ enjoy. This is a working first draft. It is intended to be used as a form field, but that portion hasn't been completed yet.
Should null be passed in query strings generated by jQuery.param?
Currently, jQuery.param({"foo":null})returns "foo=null"On the server, this gets treated as the string "null", even though a string was not passed in. I think that it would be a good idea to return this instead: "foo="which is at least closer to null. The patch would be to change s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );into s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value === null ? "" : value );
home button // back button
hi there, i have problems to understand with the nav buttons. if i navigate my site and hit the backbutton, the site returns to the last visit page and jump(like anchor)to the last used button ! if i use the home button i return to the main page, without jumping to any button! here my question: is it possible to use "back" buttons without jumping to last used button? i want only revers to last visit page and start on top.. thanks sorry for my english jerry
JQtouch doesn't display my search button and link
Hi I just started to build some native iphone applications using html, javascript and css. In one of them, I am trying to allow my users search through my app and display regarding pages. I am using jqtouch. My problem is that I can't see the search button and its functionalities when I use jqtouch. Any ideas? You can reach my source codes by visiting http://www.eskipusku.com/vergi_app2/search_jqtouch Please use Safari nad UTF-8 for encoding index.html : it is the search page searchresult.html
Next Page