Hi,
I'm having an issue with:
__flash__addCallback(variable, "sendData");
When trying to interact with a movie via javascript, where 'variable' is undefined - but only in flash versions less than 9.0.115, in my case the problem presents itself with version 9.0.47 - tested in IE.
I've searched and have found a few posts regarding this...
$(document).ready(function() {
$(".hoverimage").hover(
function(e) { openQuicktip(this,e); },
function() { closeQuicktip(this); }
);
$("area").hover(
function(e) { openQuicktip(this,e); },
function() { closeQuicktip(this); }
);
});
function openQuicktip(elem,e) {
ar x = e.pageX;
ar y = e.pageY;
$('.helpbo...
New to javascript, I face many problems.
I read the javascript tutorial at w3cschools.com,
and there are many question marks on my head.
I do not understand what is the difference below:
var name=something;
name=something;
The above two examples also giving something to a name, why 2 different ways?
name=new Array();
name[0]=some...
I have a form, if nothing is submitted then it should't show the table #mytable
Only when the form has been submitted is should show the table #mytable
How do i do that?
<form action="" id="myform" method="get">
<strong>Søg på fritekst :</strong>
<input type="text" name="searchword" id="searchword" value=""/>
<input type="subm...
Is there any way to transfer a javascript object from one runtime(can be browser) to another?
of course I can seralize the oject to string and eval() it on the other machine, but is there more efficient way to do so?
...
how do i get the user to check only one of these checkboxes .. is there any way other than disabling the checkboxes on selection??
<td width="25%"><input type="checkbox" name="choice" value="Good" />Good</td>
<td width="25%"><input type="checkbox" name="choice" value="Average" />Average</td>
<td width="25%"><input type="checkbox" name=...
I have the following code which I am submitting to an aspx page
fp.getForm().submit({
url: 'SomeAspxPage',
method: 'POST',
waitMsg: 'Uploading your file...',
isUpload: true,
success: function(fp, o){
...
Hi,
I have run the following through JSLint:
$(document).ready(function() {
/*
Add paragraph on page load
*/
// Get all header elements
var header = document.getElementsByTagName('h1'),
parent,
newP,
text;
// Loop through the elements
for (var i=0, m = header.length; i < m; i++...
Hi all,
I have a few pages with an heavy javascript usage (e.g. sorting and filtering of a dataset).
The typical usage is to display a list of complex items (usually rendered as <li> with some HTML inside): the user can delete, edit or add items with specific forms. Since the items are complex, I keep an array of javascript objects to ...
Today i was trying to study about frameset by creating a few pages , this is how the site works , the frameset-defining page is divided into two separate child frame , and inside the two pages contain a textarea and a button that will print out the pages that are visited to the textarea when user click the button,the page is as follow:
...
It seems like the point of window.postMessage is to allow safe communication between windows/frames hosted on different domains, but it doesn't actually seem to allow that in Chrome.
Here's the scenario:
Embed an <iframe> (with a src on domain B*) in a page on domain A
The <iframe> ends up being mostly a <script> tag, at the end of...
Is there any real world working example that uses JSON in Galleria plugin to fetch images from?
...
Hi
Snaptic provides a RESTfull api. For private data I need authentication and authorisation credentials (I have a login). Also i need a basic auth. How do I this with ajax and javascript?
...
This code works PERFECTLY in Firefox, and in IE the line ending 'negative'); breaks. I have no idea how to fix it! Argghhh!
$(".topline strong").digits().each(function () {
s = $(this),
c = "change";
if ($(s).hasClass(c) & $(s).text().replace(/%/gi, "") > 0) { $(s).addClass("positive"); }
if ($(s).hasClass(c) & $(s).text().trim().charAt...
Can I somehow load a "broken" DOM tree in JavaScript
for example if someone forget to close a tag..
...
Im currently developing a car related website in which I want to create a very stylish progress bar with javascript (not flash). I want it to look similar to a speed indicator, like this: http://www.crestock.com/images/1260000-1269999/1260687-xs.jpg
So I have done great couple of Google searches for javascript bars but only found simple...
Hi Guys,
I use to populate Dropdown using javascript:
function populateDDL(ddl_id) {
var option_str = "";
var x;
for(x in datalist){
option_str += " <asp:ListItem Value='" + datalist[x] + "' Text='" + datalist[x] + "'></asp:ListItem>"
}
var country_div = document.getElementById(ddl_id);
country_div.innerHTML = option_str;
}
Thi...
I need to check if array contains at least one empty elements. If any of the one element is empty then it will return false.
Example:
var my_arr = new Array();
my_arr[0] = "";
my_arr[1] = " hi ";
my_arr[2] = "";
The 0th and 2nd array elements are "empty".
...
I have a select box whose onChange attribute executes the functions given as:
<select id="shipping_method" name="shipping_method" onChange="javascript:quantity(), price(), Shipping();" style="width: 209px;">
<option value="">Select Shipping</option>
<option value="standard">Standard (7 - 12 days from proof)</option>
<option ...
I'd like to offer a way to my users to promote my website, blog etc. on their website.
I can make a banner, logo whatever that they can embed to their site, but I'd like to offer dynamic content, like "the 5 newest entry's title from my blog".
The problem is the same origin policy. I know there is a solution (and I use it): they embed a...