Hi,
Is it possible to run the method on an existing object on timeout of window.setInterval method. I can emulate the same by having some global variable and calling the method of this global variable in setInterval, but i wanted to know if this is possible using the method directly.
Best Regards,
Keshav
...
Is it, in any way, possible to disable the browsers execution of script inside a block/section/element ?
My scenario is, that I'm letting my (future) users create "rich content" (using CK-editor).
Content that wil later be shown to other users - with all the dangers that imply: xss, redirection, identity theft, spam and what not...
I'v...
how i can get the contentWindow.location of the iframe where the iframe src contain different domain name?
i have googling about this , but i found some thing like proxt,
so how i can get the location of the window inside iframe where iframe src is not on the same domain?
...
I'm looking for a Toolbox for a Website that can do the following things:
Write Text in a Text Editor (change its color/font size/font) and display it over an product image (plus drag&drop, do rotation). As Texteditor i could use TinyMCE but how to rotate/drag&drop?
the same with images (upload a logo, display it over an existing produ...
I have a jquery code, but I'm a little bit confused on how can I put a css on this:
$(document).ready(function () {
$('span.account-menu').click(function () {
$('ul.menu').slideToggle('medium');
});
});
I wanted to add this css in the click function.
border: 1px solid #999999;
background-color: #333333;
This style, I ...
hey guys,
for developement reasons (working with facebook-connect) i put the connect iframe in an iframe. on that way i am able to work on the connect-thing independent of my ip and don't have to develop on the live-server.
the iframe holding the connect-button iframe is on my server, accessing the same db-server as the developer versi...
from my textbox, i need to get the first digit entered into that, and check whther it is 7 or 8 or 9.. using getelementbyid, how can i get this.... how can check whether first digit is 7 or 8 or 9 in the textbox
...
I've got two servers running jsp and php. I'd like the PHP page to call the JSP page for getting an output. I tried using simple Ajax and Jquery-Ajax, it doesn't seem to work. Why?
...
User clicks on URL hyperlink (http://example.com) within a iframe dialog window, dialog window closes and link is open in parent page.
how do you open the clicked link in the parent page instead of inside the iframe page?
...
hi,
I need to display text on a blue gradient color background within a table. How could I render this using Javascript?
Thanks a lot!
...
Hi,
what i want is if we press down it will go to next link but for previous link what is keycode or code using javascript. please help.
Thanks.
...
I am experiencing a classic JS case (in my opinion) but after a lot of googling, still not able to find a solution. Backslash is considered as a escape character in JS but what you do when you need to pass windows path from the JS and print it?
I am using eval because my java applet is executing the code and placing bits when it has a s...
Hi everyone,
I would like to get the currentStyle/computedStyle object and I dont want to manually check for the type of browser. (I wanted to get rid of cross-browser handling that is why I came to Jquery).
Actually I want the style object returning all the style-property: value map.
Please help.
...
I have turned on PopUp blocker in FF and Chrome.
I have a piece of code to check PopUp is working as:
function checkPopUp()
{
var myTest = window.open("about:blank","","directories=no,height=1,width=1,menubar=no,resizable=no,scrollbars=no,status=no,titlebar=no,top=0,location=no");
var popUpsBlocked = '';
if (!myTest) {
popUp...
Hi,
In the development environment where I code, there is a recent discussion on using extJs JavaScript framework in one of our upcoming project.
My question is:
As an asp.NET developer who is more or less familiar with JavaScript and jQuery, what critical points should I be aware of to not to be surprised or upset in the middle of my...
If you guys check out this webpage:
http://www2.scandvision.se/oresund10/
How have they done this background fade in fade out?
When i check the source this
<img id="wrapper-background" src="images/body-background-0.jpg" alt="Background" />
and i think theres some kind of script maybe php or js, or both, that every 5 sec changes ...
Hi, I'm new to WTP so excuse me if the solution to this is obvious. When i define and use a class from within the same file i get nice code assist help, i also get code assist for classes from the standard libraries. Unortunatly, when i try to use code and declarations from one file in another file i no longer get t he nice code assist f...
Hi there,
When I put the following code on my page.
<script type="text/javascript" src="../../Scripts/jquery-1.4.1.js" />
Then anything below will became nothing, can anyone tell me why?
Thanks alot.
Sorry, I am very new in web development.
Thanks
...
I want to return an array of javascript objects from my asp.net asmx file. ie.
variable = [
{
*value1*: 'value1',
*value2*: 'value2',
...,
},
{
.
.
}
];
I seem have been having trouble reaching this. I'd put this into code but I've been hacking away at it so much it'd probably do more ha...
Hi I have a long form that is split into a wizard. To prevent the user from hitting browser back button and losing data I have the following:
window.onbeforeunload = function() {
return "Hitting back will cause you to lose all form data.";
};
How would I insert a flag and apply to the last step so the form can be submitted properly...