Hi All,
I have been wrestling with this one for a while now.
I want to have a confirm() before someone changes the accordion.
I have tried:
$(document).ready(function() {
var edited = false;
$(".accordion-me").accordion({
autoHeight: false,
navigation: true,
changestart: function(event, ui) {
...
Hello,
I want to have something similar to the sortable accordian in JQuery UI, that automatically sorts itself i.e. the active accordion panel (the open one - last one clicked) automatically moves to the top of the accordion.
Any ideas?
Here's the link to the JQ UI page: http://jqueryui.com/demos/accordion/#sortable
Thanks!
Here's ...
Hi All,
I am having an issue with a layout i am trying to develop.
I basically have split the view-port into 2 equal width divs with a different background tiled image in each.
i have it stretching full screen 100%, but have a problem on scrolling.
The background image is cropped to the original height of the view-port..!
Here'...
Hello. I want to create a drop down menu in CKeditor like size drop down menu to determinate the line space in text editor. How to construct this plugin. Please Help Me
...
I'm trying to change a checkbox value from chrome JavaScript console. I'm aware that changes are printed to object and not on screen. I'd like to execute a jQuery statement, i.e.:
('input[name=foo]').attr('checked', true);
Is there any way to enter a jQuery statement, and and see changes instantly in the page?
...
$('.slider').each(function(){
if($('li:last',this).width()+$('li:last',this).offset().left-$('li:first',this).offset().left < $('div',this).width()){
//doing something
}
});
I have multiple slides and only one is visible. here I'm trying to do some thing after reading each slides. Issue is that I'm not able to read slides if its hidde...
I'm writing the wrong syntax, so the function is not getting called.
I'm making a jQuery function that just sends an AJAX call and redirects. But it doesn't actually apply to any selector.
my function
$.fn.update_and_return = function() {
$.ajax({type: "GET",
beforeSend: function(){
idx_var = $(".selected_adli...
how to load an external css file if javascript is disabled.
Should work in IE 6 to 9, Firefox Google chrome, Safari
I tried <noscript> And keeping <noscript> inside but it's not working in IE 7
...
I'm using json +jquery on client side. I want to disable all buttons found on the page while uploading file. Currently I'm disabling the upload button only using its id as shown below..
$("#upload_attachment_button").addClass('ui-state-disabled');
I wonder if there is a way to disable the rest of the buttons found on the page. I hav...
I'm using the following code to display two div containers after 3 minutes:
/* Display After 3 Minutes (180000) */
setTimeout("jQuery('#contact-overlay, #contact-window').show();", 180000);
I only want these div containers to open after 3 minutes on the first 4 visits to the website, after this the div containers should not open for t...
I am having problems getting a function that clicks all search matched checkboxes. The click event seems to fire, but no checkbox gets checked nor is myFunc() called.
It works perfectly when clicking each checkbox manually, but who wants to do that with 40+ checkboxes - not my users.
You may wonder why I use a div-onclick instead of dir...
How to use Jquery if any field is being changed using javascript?
I have hidden field whose value is being changed as per change of other field using javascript.
Now I want jquery event function which can track this change of hidden field and do the needful.
I tried with this :
jQuery("#bannersize").change(function()
but it didnt w...
I'm trying to write a custom in-window confirm dialog (based on jQuery UI) that we can use to control all aspects of the window (button text, etc). What I'd really like is for the control to behave exactly the way that the built-in confirm() function behaves (call confirm(), script execution pauses until the user clicks ok or cancel, con...
I have a large table/grid that has events on each row, table headers, etc.
Instead of me generating events or binding events to each cell, would it be better to put a 'global' event and then I believe when clicked or mouseover events occur, it will bubble up to my 'global' event on the entire table and then I get filter the event caller...
Well I have really strange problem with the wordpress and with Jquery. Since few week ago when we upgraded the hosting, the Wordpress Jquery in the ACP and in some parts of the widgets on the site is broken. I tried disabling plugins it's same. Tried reinstalling and not adding any plugin, still same. Tried downloading and adding new Jqu...
I made a small example HTML page to get JQuery's getJSON method working. It looks like below (sorry for the sloppiness, this was just a proof of concept to then later add into a larger project):
<script type="text/javascript">
function test() {
$.getJSON("http://api.flickr.com/services/rest/?&method=flickr.people.getPublicPhotos...
Hi all,
I have a lot of JQuery DatePicker's in my application. How can I set to all this elements default settings/options?
$(function() {
$( "#<%=dtIncident2.ClientID %>" ).datepicker({
showOn: "button",
buttonImage: "AppData/Images/calendar.gif",
buttonImageOnly: true,
showWeek:...
Hello guys,
I have an existing Rails App with considerable js code written using Prototype, I would like to make jQuery the default app's javascript framework and then migrate the existing Prototype code the jQuery's equivalent.
What is your experience with this kind of issues or what strategies you suggest me in order to make this a...
Hi all,
I'm using jtemplates (jquery plugin) as my templating solution which rocks by the way! I replaced my asp.net updatepanels with this and my god what a speed booster. The problem I have however is that I'm loading user comments under an article with this templating system. I'm processing the template like this:
function ApplyTem...
Hello There,
I am building a dynamic form in that the user can keep adding entries until they satisfied, to do this, I use this javascript, to pull in some html,
$('#add_another').click(function(e){
$.get('/admin/add_grade_course', function(data) {
$('#added_by_ajax').append(data);
});
e.preventDefault();
});
The...