Hey guys I have a weird error
I wrote this code against setbubblepopup
$(document).ready(function () {
$('a').hover(function () {
var tempID = $(this).attr("id");
var tempTitle = $(this).attr("title");
var totalID = ("'a#") + tempID + ("'");
console.log(totalID);
$(totalID).SetBubbleP...
This post is kind of a follow up to a post I made earlier in regards to HTML5 video callbacks. In that thread, I was given a great piece of code that would allow for the browser to be informed of when the video stops playing and then fire off an action (with jQuery). This is the code I'm currently using:
$('video.normal').bind('ended', ...
$('.box').click(function(){
$(this).find('p').toggle(
function () {
$(this).css({"color" : "red"});
},
function () {
$(this).css({"color" : "black"});
}
);
});
if i execute this script the 'p' color will change if i click on the 'p' not on the .box class why ? And how to i...
Hi,
I'm using jquery, and I want to access some data on my server using ajax. The server is running google app engine (which is just a bunch of servlets). Can someone point me to a sort of tutorial on how to implement a servlet that can talk to an ajax request (ideally made from jquery)?
I think I just need to create a servlet, and th...
I'm creating a jQuery plugin. So far it's working fine, but I'm having doubt about the way I'm doing things:
jQuery.fn.myMethod = function() {
return this.each(function(){
MyScope.doSomething(jQuery(this).attr("id"));
});
};
var MyScope = {
// The functions contained in MyScope are extremely linked to the logic
// of this...
Hello,
i am workin on asp.net mvc in that i using partial views. i got one proble ie date picker is working properly on IE but it is not working on Mozilla Firefox. the i have used is:
<link href="<%=ResolveClientUrl("~/Scripts/Themes/ui-lightness/jquery-ui-1.7.2.custom.css")%>" rel="stylesheet" type="text/css" />
<script src="../...
Hi,
How can I change the display of full calendar where by time appears horizontally at the top and events displayed vertically.
Prompt response would be greatly appreciated.
Thanks in advance,
...
I want to setup a click event trigger in jQuery for certain anchor tags.
I want to open certain links in a new tab while ignoring ones with a certain class (before you ask I cannot put classes on the links I am trying to catch as they come from a CMS).
I want to exclude links with class "button" OR "generic_link"
I have tried
$(".con...
$.ajax({
type: "GET",
url: 'http://services.somewhere.com/MethodName',
data: { 'param1':'something', 'param2': 'somethingElse' },
cache: false,
dataType: 'jsonp',
contentType: "application/json; charset=utf-8",
success: function(view) {
al...
I have a page, let's call it "callme.html" which only has this content:
abc
Now I want to fire the following:
$.get("callme.html", function (data) {
alert(data);
}, "text");
I am using jQuery 1.4.2 mini and the page is called but the alert is empty.
Any ideas why? I'd like the popup to contain abc
I've also tried th...
I have a simple login form with 2 input fields: "username" and "password".
"username" field is focused by default. The problem is that when user clicks outside "username" or "password" fields, the focus is gone (it is neither on "username" nor on "password" fields"). How can I force the focus to be on these 2 fields only ?
In my case, ...
Hi,
I'm using jqGrid3.6.5 on google hosted jQueryUI1.8.2 and jQuery1.4.2
I want to change the cell padding of a jqGrid. For testing purposes I want to set it to 10px all around each cell.
The only option I've come across while googling is the following:
add padding with CSS. eg. #grid-id td, #grid-id th { padding:10px; }
set cellLay...
My application users asked if it were possible for pages that contain a jqGrid to remember the filter, sort order and current page of the grid (because when they click a grid item to carry out a task and then go back to it they'd like it to be "as they left it")
Cookies seem to be the way forward, but how to get the page to load these a...
This js-code works in safari on my pc, but not on a ipod touch safari (has also tested it on a iphone - still not working).
$(document).ready(function(){
$.ajax({
type: "GET",
url: "list.xml",
dataType: "xml",
cache: false,
success: function...
Hi
I try to make a page to go to the startpage after eg. 10sec of inactivity (user not clicking anywhere). I use jQuery for the rest but the set/clear in my test function are pure javascript.
In my frustation I ended up with something like this function that I hoped I could call on any click on the page. The timer starts fine, but is n...
Hello
Lets say I have an empty div:
<div id='myDiv'></div>
Is this:
$('#myDiv').html("<div id='mySecondDiv'></div>");
The same as:
var mySecondDiv=$('<div></div>');
$('myDiv').append(mySecondDiv);
...
Good day!
I've found dragtable http://www.danvk.org/wp/dragtable/ but I need a Jquery-based solution. May be I'm missing something?
Thanks in advance!
...
I'm looking for a jQuery solution for this. When I click, let's say on a artist name. Theirs another div beside that has the information showing up. (possibly in a animation/fading way)
Can anyone help?
...
Here is what I have so far, but it is loading right away:
<script type="text/javascript">
var pid = <?php echo $_GET['id']; ?>;
var rlink = "<?php echo $domain; ?>share.php?pid=" + pid;
$(document).ready(function(){
setTimeout($(".url_tag_small").colorbox({ href: rlink, width: "620px", height: "354px", opacity: 0.0, transition: "non...
I need to show and hide with the select element some divs. So far I have the HTML and I've tried many jQuery snippets online but none seemed to work. I need help please.
HTML
<div class="adwizard">
<select id="selectdrop" name="selectdrop" class="adwizard-bullet">
<option value="">AdWizard</option>
...