I've been reading that I can simply advance my flash movie using the js play method:
object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="260" height="373" id="myFlashMov">
var player1 = document.getElementById("myFlashMov");
player1.play();
But the browser ...
Hi,
I am trying to embed OWA (microsoft exchange server 2010) in a web page within an iFrame but i get a javascript error on the OWA page saying Access Denied and then none of the controls within the OWA window work.
I have to use OWA in web page , i read in the form that cross domain not work properly.
Is there any other way by whi...
Hi there,
I recently created an xml feed -> html javascript function for an iPhone app I'm developing in jQTouch. Original Tutorial & Code: http://bit.ly/cnNMKu
I was wondering if someone would know a quick and easy way to refresh the xml data (grab the feed again) when a link is clicked.
eg.
in the code:
<div id="btns">
<ul>
<l...
Hi,
I want to hide address bar and status bar in iphone because of more space. I tried this code window.scrollTo(0, 1); but this is not working in iphone. Please help me. Thanks in advance.
...
Hi,
I want to make my page viewed at full screen.
How can I programatically press F11 on page load. Is it possible?
Thank you
...
What is difference between following code?
Code 1:
var f = function() {
// function body code
// ...
// ...
}();
Code 2:
var f = (function(){
// function body code
// ...
// ...
})();
Which one is better to use?
...
I am using CKEditor as a rich text WYSIWYG Javascript editor.
I would like to add an on-screen keyboard so that they can easily enter text from non-English alphabets.
I was planning on finding a JavaScript on-screen keyboard and adding a custom button with a CKEditor plug-in to trigger it.
I've found a couple of JavaScript on-screen...
I'm trying to check if the browser supports onHashChange or not to hide some code from it if not, in this way:
if(window.onhashchange){
...code...
} else {
...other code...
}
I tried this too:
if(typeof window.onhashchange === "function"){
alert("Supports");
} else {
alert("Doesn't Supports");
}
As described on Q...
I have an HTML document with the following code
<html>
<head></head>
<body>
<div id="wrapper">
<div class="label">First Name : </div>
<div class="value">John Doe</div>
</div>
</body>
</html>
Using javascript I want to access the contents of div#wrapper as a string like
var s = '<div class="label">First Name : </div><div class="va...
Question:
We have a situation at work where we would like to run the following scripts:
xcopy /s c:\STANDAARD_DETAILS_V2\PDF\8.1A.pdf C:\STANDAARD_DETAILS_V2\TEMPDUMP
del /s "C:\STANDAARD_DETAILS_V2\TEMPDUMP\*.pdf"
However the I.T. manager is dead against batch scripts is there a html or javascrip code/ equivelent for doing this.
...
function showSchedule() {
if (request.readyState == 4) {
if (request.status == 200) {
document.getElementById("content").innerHTML = request.responseText;
/* put alert to enroll submit button */
document.getElementById("enroll").onclick = doIt;
}
}
}
function doIt() {
ale...
Hello
I have a like button set up on my app. The link to one of the pages in the app is
http://apps.facebook.com/heyulike/post3.php?id=4
If you click on the like button and then check your profile, you will see something like :
Name likes Cool Pos on heyulike
Everything is fine about this except in my php code, after Cool Po...
hi, i m a beginner.
i want that when a checkbox is checked then it should allow user to write something in a txtbox. initially the txtbox is disabled. what i should write inside the function using jquery
...
Hi folks,
I have a javascript function that calls itself on callback, and I'm wondering how to chain other functions after all callbacks are finished? Perhaps best explained by code:
$(document).ready(function() {
sequentialFadeIn($('#demolist li'));
});
function sequentialFadeIn(item) {
item.eq(0).fadeIn("fast", function() {
...
Hello,
I'm wondering if anyone knows a javascript library where I could remotely login to a site, then browse pages upon logging in.
This is very easy with php's curl but I'm wondering if there is a javascript equivalent where I can execute multiple remote url's under a single http session.
Basically what I'm looking to do is post a u...
Hello,
Do you know of a way to use JQuery for getting JavaScript elements of a web page?
For example, getting all JavaScript function names that are used in page and so on.
Thank you!
...
Hi,
My code here returns a JavaScript selection object from within an iFrame (the iFrame page is within the same domain, so no xss issue).
What I need to know is the index of the selection within the raw html code (not the dom).
UPDATE:
E.g.
If you have an html doc:
<html><body>ABC</body></html>
And in the UI, the user uses thei...
Hi guys.
I am creating a jQuery / AJAX search script, and I am trying to find the best text encoding to use on the string that gets sent to the waiting PHP file that will be doing the SQL query to get the results.
I was thinking Base64? But as I do not have a lot of experience in this field, I would appreciate any input that could hel...
I have a Javascript form validator function something like
switch (element.getAttribute('validationtype')) {
case 'text':
if (cic.visible(element)) {
if (cic.getValue(element).strip() == "") {
errors.push(element.getAttribute('validationmsg'));
element.style.b...
I wonder why this isn't working as expected:
$(function() {
$(".door1-trigger").click(function() {
$(".door").hide();
// $(".door1").show("slide", { direction: "right" }, 1000);
return false;
});
$(".door2-trigger").click(function() {
$(".door").hide();
$(".door2").show("slide", { direction: "l...