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.

learn more… | top users | synonyms (6) | javascript jobs

0
votes
0answers
5 views

how can i use multi-select in box

i want use bootstrap-multiselect in modal. i use box to do this.but i find it cant work. because multiselect need init.but when i use it in box,i cant find anyway to write js in box. how can i do ...
0
votes
0answers
10 views

Body onload not execute when page load

Why my body onload not executing? When I load the page I need to display all records that selected in drop_1 dropdown is equal to ALL. I have script that sends q and p to getuser.php. The value sends ...
1
vote
0answers
18 views

how to encode password in javascript?

I have password textbox which allows the user to enter any type of characters with the password. But registration fails when the user uses a password like say 'mypass@676/my&pass/my%pass' but when ...
1
vote
0answers
8 views

Backbone Model defaults not being overwrote by Model data

Learning Backbone at the moment and currently at a very basic level, I have set up a model, view and collection relating to person data and want to template this data out using Handlebars. So I've ...
0
votes
0answers
13 views

Why bootstrap is not working in small screens?

i am developing an app using bootstrap but this is not all working in small screens.This works perfectly in big screens like that of PC browser but when I open it in mobile browser then none of the ...
0
votes
0answers
6 views

htaccess set expiry of js

i use below code in my htaccess for leverage browser cache,it has set expiry of 1month for javascript but when i test this google page speed insight the it asks for increase various js expiry and it ...
0
votes
0answers
3 views

Custom attributes for Flask WTForms

I develop website on Flask and AngularJS. I need to send a form whith AJAX using AngularJS but it requires a custom attribute for input field. For example I have a form in Jinja2 template: <form ...
1
vote
1answer
19 views

Nodejs json string shows as [object Object]

Front End // js / jquery var content = { info : 'this is info', extra : 'more info' } $.ajax({ type: 'POST', url: '/tosave', data: content }); Node // app.js ...
1
vote
2answers
40 views

How to call a javascript function from a table in HTML

I'm new to Javascript and HTML. Now, I'm using HTML to display a time retrieved from XML file. Below is the HTML tags. <tr> <th>Date of Birth: </th> ...
1
vote
1answer
20 views

Why I'm getting the error in following code?

I'm getting following error in the firebug console and the success or failure alert is not coming out. If I alert(data) then it displays YES, then why the success alert is not coming and the error is ...
1
vote
1answer
15 views

how to select css class attributes from mootools,getStyle()?

I need to clone an object and I try to find how to retrieve class css attributes from mootools css: .card { width: 109px; height: 145px; } html: <div id="cards"> <div class="card" ...
1
vote
0answers
14 views

search using Range slider

The problem is how i use the values of javascript variables in php for query. here is my code for range slider <script type="text/javascript" ...
1
vote
1answer
30 views

Risks in Javascript / HTML

I have a query in mind and will be thankful if somebody can respond to it. Question is that when we browse a web page of a particular site, we get html pages kept on that site's root directory. Now ...
0
votes
0answers
5 views

D3 api not taking the json after a condition is specified

I am using D3 api for developing an application it is taking a json from the database and showing the result upon it but when i am putting a limit upon the condition json is forming but instead ...
1
vote
3answers
35 views

dynamically increasing height of div in javascript

I want to increase the height of the div tag on click of button. Every time a user clicks a button it should increase the height of that particular div tag, say by 200px or so.. HTML <div ...

15 30 50 per page