Tagged Questions
JavaScript is a dynamically-typed language commonly used for client-side scripting. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript). Unless a tag for a framework/library is also included, a pure JavaScript answer is expected.
0
votes
1answer
7 views
set check box value programmatically using jquery?
I have a check box in html. I am trying to set its value programmatically using jquery. But it is not setting the value.
<td class="myClass">
Delete<br><input type="checkbox" ...
0
votes
0answers
20 views
How to pass variable in jquery set date
In the following code :
executor.ExecuteScript("window.document.getElementById('pmtDate').setAttribute('value','08/16/2013');");
Instead of 08/16/2013 I would like to pass variable for Date.
Can ...
0
votes
0answers
11 views
Cannot call method 'createRange' of undefined
Help me please.
<style>
div.foo{border:1px solid red;}
</style>
</head>
<body>
<div class="foo"></div>
<script>
Ext.onReady(function(){
...
0
votes
0answers
3 views
Resize popup Window to min. height and width then dragging to below size should not possible
i want to fix my popup windows size to minimum height of 400 and width of 650, after that even dragging to below that size should not be possible, i used resizeTo() function, but still dragging is ...
3
votes
0answers
15 views
check box is not working in edit page
The select all check box is working well at the initial time.
steps:
1.Consider I check some check boxes or check all check box , then saving the form
2.Editing the saved form shows nothing checked. ...
0
votes
1answer
30 views
How do I validate alphabetical characters in javascript?
I'm beginning what will be a DNA translator. I have it set up to take the text from the DNA text box, make it all lower case. I know that much is working. However, the function made to validate that ...
0
votes
0answers
15 views
How to refer a function definition from other module
How can I define a function in angular service, and then use the function definition in a function in another service.
I implement as below but it doesn't work. I don't want to return a ParentService ...
-1
votes
1answer
24 views
Calculator in JavaScript
I can't find a good calculator in JavaScript.
In a first time I was using the eval function on my datas to get my result but there were mistakes.
So I found this code:
function calculate(input){
...
1
vote
0answers
12 views
Format Fullcalendar
How to format date on FullCalendar on that way, when I click on event (for example) and use this code:
eventClick: function( calEvent, jsEvent, view ){
alert('start: ' + calEvent.start);
...
0
votes
0answers
23 views
Multiple RegExp in single function
This is not exactly a problem, but more a question of method.
I am working on a project where people are able to type shorthand dates in input field, for example if you simply type "20", the input ...
2
votes
1answer
26 views
Make chrome icon on windows taskbar glow when chrome is minimized
On google chrome, when an alert() is activated and chrome is minimized there is an instance that the chrome icon on the taskbar glows orange (windows 7) sometimes the whole browser maximizes.
Is it ...
1
vote
1answer
10 views
Easy level, selecting elements in DOM, optimization, creating method function
Please, do not laugh, too much. I know jQuery ans JS for a short a while.
1) How can I make this code more efficient? First line is how do I "select" elements, the second, line is how do I prep to ...
0
votes
0answers
9 views
Are there ways to prevent hierarchical conflicts caused by manifest.json injected CSS scripts?
Let's say I have this in a script that will be injected into the DOM via a manifest.json file through a chrome contentscript.
....
{
var ss = document.styleSheets[0];
...
0
votes
2answers
37 views
how to return true/false from nested jquery callback functions
I am trying to validate elements inside a javascript function which contains two jQuery callback loops. Based on the conditions I want to return true/false from the inner jQuery loop and that should ...
0
votes
0answers
3 views
Eclipse Remote Debugging with jboss 4.2 on centos operating system?
So far , i have seen by googling but i dint get exact sollution for that. Few of them asking to modfy the run.bat file in my case it is run.sh file i have seen it not able to under stand that and few ...