Euro sign or other entity in Javascript alert/messagebox
Does anybody know how i can show a euro or other html entity in javascript alert windows? ...
Does anybody know how i can show a euro or other html entity in javascript alert windows? ...
How can i get just 2 digits after comma in javascript? For example, 0.34 instead of 0.3445434. ...
I'm writing a script which manages a very large table. When a user clicks a table cell, I would like to know which cell they clicked. e.g -------------- | | | | | Click| -------------- should give me a cell reference of (1, 1). Any way I could do this with javascript. The page it's running on uses jquery for other purpos...
Greetings I am using the jquery disable on submit plug-in but I have a problem. If I disable the submit buttons they dont get passed back to the server so I cant tell which button was pressed. Is this normal? Is there anything I can do about it? I really dont want to retool my website so I have to set a variable on form submission to t...
I have two functions inside the javascript: createtext and createtextarea. If I first click on the button to createtext(), the textbox is shown and the other elements are also created correctly. However, if I click on the button for createtextarea() the textarea is not shown until clicking to createtext(). I think textarea is only disp...
Does anyone know of a free Ajax Dial control? I'm looking for a speedometer, percentage etc control. I'd expect to find loads of these as they seem to be in fashion at the moment in UI Design but I've yet to find any good looking free ones, and the only commercial one I've found costs $800 for a whole library of controls most of which ...
Hi All, Im executing javascript on a master page that is onClick event of a Menu item i set it to a hidden field and on Init of the Master page im not able to access this hidden field value. Regards ...
Hi, I want to access availJobs in jobs.scan object but I couldn't. It is not defined in jobs.attack. What can I do to access the part of jobs.scan in other objects? var jobs = new Array(); jobs.scan = function() { var availJobs = new Array(); var jobContents = dom.get("app8743457343_content"); var boldthreads = jobContents...
Any idea how to get the DatePicker to appear at the end of the associated text box instead of directly below it? What tends to happen is that the text box is towards the bottom of the page and the DatePicker shifts up to account for it and totally covers the text box. If the user wants to type the date instead of pick it, they can't. I'd...
Hi - There may be a simpler way of doing this and I am all ears if there is. My situation is I have a dropdownlist on a form which I successfully populate with text and values. I also need to have additional related string values from the same table row in the db table available on the client so when the user selects from the dropdown t...
I want to log all clicks on a link. I've written a little logger, which can be called by an url (returns an empty page). This url is called with a jquery-ajax-method. But unfortunately not every click is logged, if the user uses firefox (everything looks ok in IE). I've tried many things but have no solution to this problem, have anybo...
How can I access window.document object from ActiveXObject in InternetExplorer? I'm using C# language for my ActiveXObject. Thanks Paul. ...
I am having problems using the Visual Studio 2008 Javascript debugger. I can’t set the breakpoint on the first line of an anonymous function. Given that most Javascript is written using namespaces these days, this means that you can’t set the breakpoint on the first line of most Javascript function. Looking on google (e.g this) and co...
Right now I have an app that allows a user to pick a ring from a drop down (select) box. There can be many to choose from and it creates a long drop down that isn't very nice to use. I would like to maybe use jQuery to make this a little nicer. Like maybe have a tab on the top where they can choose "white gold", "yellow gold", etc. to na...
I am trying to use the following code below. What I want is to get the value of which radio button is selected, sent back to the javascript method. Any variation I try seems to fail. <html> <head> <style type="text/css"> body { background-color: black; color: white; } </style> <script type="text/javascript"> fu...
Apologies if this question is a bit obscure, I've been banging my head against it for a while and I'm running out of ideas, so I hoped someone here might be able to help. I'm attempting to use TinyMCE inside of an embedded instance of IE. Weirdly, it's not processing enter/return keypresses. The return keypresses are definitely being re...
Hi, if I have: function Foo(f) { var f = f; } here inside the function variable f is local to the Foo (it has a function scope) but the variable f in argument list that is named in the same way why it isn't in conflict may be because it is bound inside the Foo.arguments object? In other languages we cannot declare an argument ...
When a browser window is resized, I understand there's a JQuery method to hook it up to a event handler. I was wondering if there's one, if the window is resized from the DOM, is there a way to do this? ...
I am trying to get the lang value from the HTML tag, but the current JavaScript I am using doesn't work. This is the HTML code I am trying to access: <html lang="it-IT"> And the Javascript if(navigator.appName == 'Netscape') { langType = navigator.language; } else { langType = navigator.browserLanguage; } but in testing I...
Hey everyone, I have image, and on mouse over it fades in two arrows (on the left and right sides), then on mouseout it fades those arrows out. My problem is that when the user hovers over the arrows, the image considers it a mouseout (since the arrows float above the image), and fades the arrows out, causing an infinate loop of fading...