I have a jquery tabs with jquery multiselect in my second tab. My problem is that the multiselect doesn't load the css and js if it's in second tab. If I put in in a first tab it works fine. What am I doing wrong?
Hi,
I use prototype since a long time, but for some reason I have to switch to Jquery.
I need to build a layout with resizable parts, I found http://layout.jquery-dev.net/
But I don't like the code generated, inline css is ugly.
Do you know any clean alternative?
Cheers
I have multiple textboxes with set character limits that together make up a code. There is value in the boxes being separated for a variety of reasons. I want to be able to paste a complete code in the first textbox and have it automatically populate all the textboxes. Is there a way to do this in javascript or a jquery library for this case?
Currently I'm using jQuery autotab on each textbox and I'd prefer to keep that functionality.
http://javiercrespoalvez.com/2008/12/aspnet-confirmation-button-using-jquery.html
I am using this aspx control but i have problem in updatepanel on aspx confirmation link button. First time i click on link button then i click "yes" and code is executed. Next time i click on any link button code is alwas executed before i click "yes" or "no". I think problem is in jquery nad updatepane...
Hello, i am trying to solve this problem:
i have a tab interface build with jquery.tools, more exactly i used the ajax tab to load external html files into div. you can see the example here: http://flowplayer.org/tools/demos/tabs/ajax.html
i am trying to use jquery to animated the elements loaded by ajax, do you know if and how is it possible?
i am trying both loading scripts outside, in the main page, or in the loaded page.
thanks a lot
I'm trying to pass a variable from one function to another, but the var elmId is being returned as an object and giving an error. When we click on any of the generated divs we should be able to change the size of the div by choosing a width / height value from the drop down menus.
I'm trying to pass the clicked div id which is elmId to function displayVals but it is not working. If we replace "#"+elmId in the function displayVals with the actual id of the first div created with is "#divid1" then it works. Why is the value of var elmId not being passed to displayVals
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/themes/base/jquery-ui.css" type="text/css" media="all" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/jquery-ui.min.js" type="text/javascript"></script>
<style>
.aaa{width:100px; height:100px; background-color:#ccc;}
button{width:100px; height:20px;}
</style>
<button class="idiv">div</button>
<select id="width">
<option>100px</option>
<option>200px</option>
<option>300px</option>
</select>
<select id="height">
<option>100px</option>
<option>200px</option>
<option>300px</option>
</select>
<p></p>
<script type="text/javascript">
var divId = 1;
$("button").click(function(){
var elm = $('<div id=divid' + divId + ' class=aaa></div>');
elm.appendTo('p');
divId++;
});
$("p").click(function(e){
var elmType = $(e.target)[0].nodeName,
elmId = $(e.target)[0].id;
return displayVals(elmId);
});
function displayVals(elmId) {
var iwidth = $("#width").val();
var iheight = $("#height").val();
$("#"+elmId).css({width:iwidth, height:iheight});
console.log(elmId);
}
$("select").change(displayVals);
displayVals();
</script>
i am using half dozen jquery plugins and plus my own jquery scripts and in every script i have this code:
$(document).ready(function()
{ .... }
what is the best way of organizing all the scripts in one centeralized location and instead of having multiple times $(document).ready(function() everywhere in the script.
thoughts?
A friend gave me a solution that uses this jquery code:
.css({ backgroundColor: '#ddd' })
Instead, i'd like to use a background image. How do I change the jquery code to do that?
I'm wanting to do something like
.css({ backgroundImg: 'images/newsletter-dropdown.jpg' })
Thanks!
I am looking for a jQuery plugin which can serve me the floating share box functionality just like mashable implement in their new design: http://mashable.com/2010/03/12/flickr-co-founders-startup-hunch-raises-10-million/.
On the page above in the left side mashable has sharing options which stays on the screen when you scroll the page. I want to implement same kind of functionality in my application, using a jQuery plugin.
I'm trying to write an iPhone offline webapp using jqtouch/jquery. When I disable my connectivity, it looks like the jquery .load() function silently fails and doesn't even call its callback function. I've set $.ajaxSetup ({cache: true}); but it seems to have no effect. I also have my manifest file etc. working fine - the only issue is the .load() function.
Any ideas?
I use a jquery calendar and a flash in the same page.. What happens is my jquery calendar is overlapped by my flash... Any suggestion to make it display above flash...
Look at the image and see my calendar Fr,sat are invisible because of flash...
Hi,
I was working with jquery v1.3.2 and following piece of code was all working nice
$(".textid").live('click',function(){
textbox_input=true;
});
But as soon as I updated to jquery v1.4.2 above piece of code just not working as expected!!.Anyone who faced the same issue or can guide me to resolve this issue.
Regards,
Priti
I created a new HTML element using jQuery.
var v=jQuery('<p>Hello</p>);
But when I try to get the nodeName of the new element,
v.nodeName.toLowerCase();
I get error, saying that nodeName is not defined. What is wrong here?
Thanks.
I'm modifiying an ajax like jquery image uploader from /www.atwebresults.com/php_ajax_image_upload/ to see image on screen in iframe.
I need the image to come in at 100% so I can use jquery resize.
filename=name&maxSize=9999999999&maxW=200&fullPath=http://localhost/nyb/uploads/&relPath=../uploads/&colorR=255&colorG=255&colorB=255&maxH=300"
Hi,
I'm trying to get Google Maps Directions API working with jQuery, and
I have the following code..
http://pastebin.com/6jcGt706
Where #end is a select list in the HTML.. I'm Using jQuery 1.4.. I'm
not sure as to what is going wrong.. Can you please help me with
this...
Would appreciate if any one could help me fix the problem with this..
Thanks!
Is there any Python library that allows me to parse an HTML document similar to what jQuery does?
i.e. I'd like to be able to use CSS selector syntax to grab an arbitrary set of nodes from the document, read their content/attributes, etc.
The only Python HTML parsing lib I've used before was BeautifulSoup, and even though it's fine I keep thinking it would be faster to do my parsing if I had jQuery syntax available. :D
How can i detect caps lock key on/off using jquery.... I have a password textbox and i allow only small letters so i dont want caps lock key to be on....
Is it possible to detect the state of Caps Lock Key using jquery?
I'm planing to start learning JQuery (among other things), so I'm looking for a good Javascript editor that can preferably provide some of the following features:
Syntax coloring
Contextual help for standard JS functions, JQuery functions and possibly custom ones.
Some code completion.
(optional) JS debugging
Is there such and editor out here? or any that come close to this?
Im using the MbMenu jQuery plugin.
http://plugins.jquery.com/project/mbMenu
http://pupunzi.open-lab.com/2009/01/18/mbmenu/
I am probably being ridiculously stupid but I wish to have multiple menus on the same page, but not load them from external files (the html structure of the menu already exists on the page).
To me the only place you define what menu is linked to the element you call buildMenu on is the 'template' construction which is a external file.
Thanks.
I am trying to upgrade an existing application from jQuery 1.3.2 to jQuery 1.4.2.
When I do this, the page fails to load correctly and firefox's error console displays the error message "uncaught exception: Syntax error, unrecognized expression: Syntax error, unrecognized expression: search".
How can I determine what is causing this exception?
Hi, I have been optimizing my website but the one problem that stands in my way is all the jQuery functions that I do not use. The only ones that I use are for a smooth page scroller. It just seems like such a waste of download time.
My question is: Is there any script or program that will remove the jQuery code that I do not need and leave the 1 or 2 functions that I do need.