I've created a website that used to work fine. But now Firebug throws me an error while loading:
Break on Error - d is undefined (in jquery, gets loade from the google CDN)
if i turn off firebug and reload the page everything works just fine.
the site is now at http://www.optiekmeulemeester.be/test and I wanna hear if other get the sa...
I am making a JSONp call to youtube using oembed and on response firebug gives "invalid label" error
Here is my code
site = "www.youtube.com";
url = "http://www.youtube.com/watch?v=slORb622ZI8";
$.getJSON("http://"+site+"/oembed?callback=?",{"format":"json","url":url},function(data){
alert("hello:\n"+data);
alert(data.provider...
Hi,
how can i get the auhtor name from this getJSON
http://gdata.youtube.com/feeds/api/videos/tPYtsDPXtOY/comments?alt=json-in-script&callback=jsonp1282584741426&max-results=10
$.getJSON('http://gdata.youtube.com/feeds/api/videos/tPYtsDPXtOY/comments?alt=json-in-script&callback=jsonp1282584741426&max-results=10', functi...
here is my scenario I have a nested sortable tree simplified looks like this
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title></title>
</head>
<body>
<ul>
<li id="item_123" name="123">
<fieldset class="additem">
<input type="text" name="title" value="">
</fieldset>
...
Hi. I just discovered jpolite and think it looks very cool. I thought I would change my php page based on that. The problem is that I need allot of php code on each page to interpret _POST input and such. To do that I think I need to make index.html from jpolite, that normally just load different modules containing html like this:
var ...
trytyku.com/store_BACKUP/
What Im trying to do is highlight the sidebar link when a marker is selected. I've found a link on how to do it but it seems to be using an older version of goggle's map api so it doesn't seem to be working.
http://econym.org.uk/gmap/example_map2c.htm
Any ideas? thanks :D
...
my post looks like this:
$.post('/ajaxvalidate/1', {"nid": nid}, function(data) {
I get the Uncaught SyntaxError: Unexpected token : error in google chrome.
I understand that I need to set a content type or something, from this question:
http://stackoverflow.com/questions/3143698/uncaught-syntaxerror-unexpected-token
I don't underst...
I've got the following html structure:
<div id="main" style="position: relative; width: 900px;">
<div id="wrapper" style="padding: 40px;">
<div id="newdiv" style="position: absolute;">
Some content
</div>
<div id="existingdiv">
Some existing content
</div>
</div>
</div>
I...
I have the following bit o' jquery:
// Code for Side Navigation
$("#sideNav ul li:not(:has(li.current))")
.find("ul").hide().end() // Hide all other ULs
.hoverIntent(
function(){
$(this).children('ul').slideDown('fast');
},
function(){
// $(this).children('ul').slideUp('fast');...
I am trying to close an open dialog at the end of a function call and also use my current button element to close the dialog. Here is the code that opens the dialog. It is being called dynamically using the 'rel' attribute of the '.modal_btn'. It opens just as expected:
modalDialog = function(dialogId){
$(dialogId).dialog(...
I need to extract something out of the "style" attribute: the "top" and "left" attribute
<div style="top: 250px; left: 250px;" id="1" class="window ui-draggable">
What's the best way of doing this with jQuery? Is there an easy way, or will I have to resort to string functions?
...
Hi im working on an ajax shopping cart using php and javascript with the jQuery library. Does anyone have any tips in speeding up the ajax requests.
Also, are there any best practices with regards to locking the shopping basket or options to add more items with the request is taking place?
...
I have a div that contains some text content and I'd like to scroll and possibly highlight this within Javascript.
I found this link that describes how to scroll an entire page, but it doesn't seem to work when only using a div.
Update
I just attempted 2 approaches. Only the uncommented one worked, but it didn't really scroll enough....
using jstree, i use the next code to Trigger click , but , i can not see the defalut click event, like : the blue background when i click ,
this is my code :
<div id="wrap">
<div id="header">header</div>
<div id="main">
<div id="demo1" style="float:left;width:50%;">
<ul>
<li>
...
Hi all,
I'm having issues trying to find an image inside a div and append it to a blank div. Here's the code I have:
<div class="newsItem">
<div class="newsImage"></div>
<h2><a href="">Latest News 03</a></h2>
<div class="newsIntro">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce dictum sagittis sapien. Aliquam e...
I need to get a list of cities in french for freebase suggest.
I'm trying something like
$(".location_input").suggest({type:'/location/citytown', name: [{ lang: '/lang/fr'}] } );
or
$(".location_input").suggest({type:'/location/citytown', lang: '/lang/fr'} );
But it doesn't help this way. Any ideas? Documentations is a bit unclear...
Greetings,
I am changing the width of an element which serves as a bar , and that works. However I can't
make it so that it animates it in the opposite direction. I tried putting - in front of bar_width but to no avail. Width will be dynamically calculated it's just that I want the direction to go to the left rather than to the right...
This might be a very simple thing in jquery but I am not able to figure it out. My html document has the following structure
<div class="body">
<a href="/question?id=70"><p>This is the text I want to extract</p></a>
</div>
I tried this
$("body").find("a p").text()
but this does not seem to be working for me. I am able to get...
I have the following html on page along with other code on the page. This is inside a table along with other table rows. I would like to target only this tr so I can change the color. I do not have access to the code and because the amount of tr's can vary within this table css would be difficult. Is it possible to target this tr by the ...
On this site http://church.allthingswebdesign.com/Contact-Us.php, the links on the left work fine in every browser except IE. In IE7 i see there are javascript errors but i can't figure out what the error would be.
Here is the snippet of jQuery that is being executed on this page.
Can anyone tell me why I am seeing javascript errors ...