hello all..i have two form.
at form 1 there are:
1. one group of radiobutton
<input id="def1" type="radio" class="defect" name="defect" value="S"/>S
<input id="def2" type="radio" class="defect" name="defect" value="A" />A
<input id="def3" type="radio" class="defect" name="defect" value="B" />B
<input id="def4" type="radi...
I am trying to determine the height of a specific element on my page. I have not set the height in the CSS, and regardless of the size of the window, the following code always returns the integer '100'.
var img_h = $("#compare_view").height();
console.log(img_h);
When I try a different div element on the page, it returns the int...
I have a HTML5-canvas and write text with context.fillText(...); using a @font-face-font.
Displaying the page with Firefox (3.6) I have the problem, that on the first paint of the canvas the font is not downloaded yet so the text will be displayed with a standard-font.
I found a 'solution' here but it does not work, because the font is o...
I have noticed when I am trying to implement the dayClick: and the select functions there seems to be a collision somewhere.
Here is some narrowed down code.
// WHEN YOU SELECT MULTIPLE DAYS
select: function(start, end, allDay) {
var title = prompt('New Select Date:');
if(title) {
...
Hello,
I have put a logo as the background image in a div
<div id="logo" style="background-image:url(images/logo.jpg); position:absolute; top:20px; left:18%; width:275px; height:100px; cursor:pointer;"></div>
I want to use this as div as a link using jquery
//jQuery code
$('#logo').bind('click',function() {
window.location = "index...
Hello,
I am looking for a good JS and CSS Loader for on demand loading Management in jQuery. Can anyone advice good solution ?
...
I need to know which specific classes the anchor (which triggered the fancybox) has to do some more action wie the "onComplete"-function.
How do I get the trigger as jQuery-Object? $(this) seams to refer to the fancybox itself with no link to the original trigger.
Solution:
$('a.fancybox').click(function(e){
e.preventDefault...
Using cycle 2.7x i didn't have any problem with this however I had to upgrade to jquery cycle 2.88 because 2.7x doesn't support cleartypeNoBg. Below is the code I am using. As I say it worked before.
$('#hero').cycle({
fx: 'scrollHorz',
speed: 2000,
timeout: 12000,
next: '#next',
...
I was trying out example JQuery examples and to my surprise, I got an error state for an AJAX call mentioning that timeout isn't defined. When I removed timeout attribute, it worked fine.
I downloaded JQuery few days back, so I am pretty sure it's not a version problem.
I was trying with Firefox(3.6.8) and not any other browser.
Why ...
Can someone please redirect me to the right link or give an example of how to work with two dimensional array or HashTable in JQuery? I tried google but did not get the answer. I want to avoid using any plugins. All i want to do it, store some information and retrieve them like HashTable way.
...
I have made my own custom tabbed content script and it works great. The only thing missing is being able to book mark different sections.
I know the URL needs re-writing somehow. At the moment I am using preventDefault to stop the page refreshing, this also stops the URL from changing.
I have also tried manually re-writing the URL but ...
So I Want to get the first 'a' tag in this div. This is really driving me nuts. thanks for any help.
<div id="PGD" class="album" onmouseover="load(this)">
<a class="dl" href="#">DOWNLOAD</a>
</div>
javascript
function load(dl)
{
var ID = $(dl).attr('id');
var elemnt = $('ID:first').attr('id');
}
...
First of all, hats off to Adam for pulling off this wonderful, well-written calendar plugin!
Now for a a very typical use case. Below is what I want to achieve:
Fetch events (URL added to eventSources) from the server side as JSON data. This is all fine and I have been able to achieve this. The events get rendered properly.
USE CASE i...
Hi All,
I am using the jQuery plugin ColorBox in a Joomla! theme, and am having a hard time getting it to work in noConflict() mode. I have the following code that calls my jQuery and the noConflict(); call, followed by my actual jQuery markup:
<script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/l...
I have developed a tree menu using jQuery api. But all my tree elements are hard coded. I want to store the tree elements in a data structure and create the tree dynamically. Does jQuery has any data structure like linked list or sth or do I have to code my own data structure ?
...
I have used jqtransform jquery plugin. With this plugin, input type="submit" replaced with button tag. I dont want send form information with button.
can I prevent this replacement? If not, is there any plugin that do this?
Thanks in advance
...
I have the next jquery code:
<script>
$(document).ready(function() {
// hides the slickbox as soon as the DOM is ready
// (a little sooner than page load)
$('#hidden').hide();
});
//<![CDATA[
function ShowHide(){
$('#hidden').fadeIn();
$("#shopping-cart").animate({"height": "to...
I am having some issues with IE which is showing me its yellow "download blocked" bar for a good reason: the actual submit that returns the file is triggered due javascript. I would like the show the user some additional information if this is the case.
So is it possible the check if the browser is actually blocking my download?
...
Hello
I'm using JQuery UI dialog to show a popup containing a page. When i scroll inside the popup and if the scroll bars comes to the bottom, the parent page starts scrolling. How can i restrict the parent page from scrolling while scrolling inside the dialog. I've created a modal dialog using the following code.
// Dialog
...
$(document).ready(function() {
$(".rshownews").click(function() {
window.setInterval(function() {ajaxselectrss($(this).attr("title"))}, 1000);
});
});
function ajaxselectrss(rssurlvar) {
var ajaxRequest; // The variable that makes Ajax possible!
try{
// Opera 8.0+, Firefox, Safari
ajaxRequest = new XMLHttpReque...