Hi.
I have following page
<html>
<head>
<script type="text/javascript" src="e01.js"></script>
</head>
<body>
<script type="text/javascript">
var obj={someHTML: "<script>alert('a');</script>rest of the html",
someOtherAttribute:"some value"};
alert(obj.someHTML);
</script>
</body>
</html>
in someHTML attribute ...
I want to have a javascript overlay box load on startup inviting users to participate in a feedback survey.
I am thinking about the overlay that comes down from the top of the screen and lets people either go to the survey or select “no thanks.” How can I do this?
I do not want a separate window. I want to do this using javascript, C...
jquery iphone ui and jqtouch
they are lib of iphone , i want to choose one to use,
which is better ?
thanks
...
Hi there. I'm looking to get the X/Y coordinates of the caret within a textarea on key down. I've searched vigorously but without any luck whatsoever, it seems you can get the position, but not the on-screen X/Y coordinates.
Cheers!
...
Can I specify an y offset in the url path when I use bookmarks ?
Let's say I have this path: mywebsite.com/mypage#bookmark
I would like to center the bookmark section in the middle of the page and not in the top.
I was wondering if I can specify something like ..mypage#bookmark&y-offset=100
maybe i can use javascript to get that valu...
I am currently migrating a large project from dojo 1.3.2 to 1.4.2.
I need to port all deprecated code so a way to find it all would be nice.
Managed to get some warnings in the console earlier but that only seems to work for some dijits.
For example, the code is cluttered with 'widget.attr(...,...) code, which is deprecated.
Anyone hav...
I am developing an HTML page that I want to convert in Search Engine.
I just have put a Textbox & Search Button. I am just allowed to use JavaScript. How do I convert it in Search Engine ?
...
Live example here: http://timkjaerlange.com/foobar/stack-stuff/august-18-2010/test.html
I want to animate addClass and removeClass on this interface that I've made.
However I don't know how to go about this.
I have three boxes that I want to switch between based on when the user clicks a link.
<div id="boxes" class="slideshow">
...
Hi guys, I'm building a simple templating system here. Basically I've set up buttons that add preset variables into a textarea.
The thing is that I want to be able to add text in my textarea at the position where my cursor is. Just like when you click on the URL link in the editor window for posts here at stackoverflow the link is adde...
Hi there,
is it possible to generate a Qooxdoo API even if not all tags and comments are correct?
When i tried generate.py api i got a lot of errors. Can the generator ignore these errors?
== edit
I compared the Qooxdoo documentation standard with our coding / spket standard docs.
Qooxdoo wants the documentation of parameters style...
Hey!
I have a web page with Facebook connect.
Today i've checked it after a few days it was working, and i found out that if i connect using a username that didnt have permissions to my app, and he authorize them - he gets authorized.
if he connected again (with permissions already added) - i can't recognize his had authorized my app!!...
I have a scenario where i have to upload a zip file on a button click , I can't use forms for that, so I need to handle it either by calling the servlet using document.location.href or through AJAX, after uploading the file I need to extract it on the server. So someone can please tell me what will be possible approach for that.
...
TLDR version: Most important issue is, that in a TSP problem, instead of finding the shortest Hamiltonian cycle, what are good ways to find the best path (I suppose the one that visits the most nodes) which is at most X length, with a fixed starting point.
Full version:
I'm interested in some ideas for a problem that involves TSP.
Fir...
I did everything in this tutorial: http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html
It should be pretty simple.
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
<script language="text/javascript" src="http://www.gcmingati.net/wordpress...
< os owner="microsoft" version="windows xp" link="microsft.com/windows98" information="microsoft.com/windows98/more_info" / >
< os owner="microsoft" version="windows 2000" link="microsft.com/windows2000" information="microsoft.com/windows2000/more_info" / >
< os owner="microsoft" version="windows windows 7" link="microsft.com/windows...
I'm now developing one JS UDF which seems following coding.
<script>
<!--
function alertmsg()
{
alert("Hello World");
}
for(p=1; p <= 2; p++)
{
alertmsg();
}
-->
</script>
Normally, Alert Msg will be came out two times because of loop count is 2. What I want is Alert Msg will be came out only one time even loop count is 3....
Hi Experts,
I am trying to create an Online Quiz script like expert rating test on ODesk or Elance.
I want to track the time, means how much time have passed and left. I also want to stop the time counter, if the user internet connection is disconnected, so that he can start from where it was disconnected.
One last thing how to disabl...
Hi all,
I want to know the version of Javascript that is supported by the WebView in Android 1.6.
Thanks in advance,
Parth Mehta
...
Hi It might be asked before but I am new to Jquery and using just simple script "Slider" and now i need other script on same page named "Gallery".
Both are working correctly on different pages but if i am trying to use both scripts on same page, "Gallery" is working but not "Slider", firebug is saying,
"$ is not defined- You've used th...
Possible Duplicate:
Make Browser Window Blink in Task Bar
Hi,
with Javascript help, i want to force IE to blink when in taskbar. Blink means trying to get focus. Function alert() helps for Firefox, but not IE.
P.s. Would be nice avoiding new window creation and activeX.
IE versions: 6,7,8.
Any Ideas?
...