473,543 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript Forum

JavaScript web scripting language - Ask questions about JavaScript development, jQuery, Vue, React, the DOM, cross-browser scripting, event handling, OOP, cookies, client-side form validation, built-in objects like Date, String, Array and Object, performance and more.
4
1,571
thread by: samvb | last post Jan 14 '16 by: omerbutt
Alo, Hope my title is clear...am part of a team that works with CodeIgniter. The HTTP links are in this fashion: www.abc.com/content www.abc.com/content/edit/2 Now, we have some javascsript ajax functions that are shared thru out various sections of the application. One is this: function getXtime() { var result = ""; ...
1
1,544
thread by: leoinslc | last post Dec 18 '15 by: Dormilich
Does anyone know how I can get an html form to automatically save or submit after 5 minutes of inactivity? The action after submit is clicked on my forms just saves the form and returns to the top of the form. Much thanks...!
1
1,347
thread by: Tahmid909 | last post Dec 18 '15 by: zmbd
hi, so im pretty new to javascript and not quite experianced. so when we were asked to make a loop of traffic lights that goes from; red, to red and yellow, to green, back to yellow, and finally back to red. I was left very confused, i tried multiple times to do this but im getting nowhere. can someone please write a code to illustrate this. ...
1
1,238
thread by: viana2020 | last post Dec 18 '15 by: Dormilich
i have two inputs that i want an onchange function, when you input number of hours the NPCode should change to present,otherwise it should be absent.that means if no hours is submitted then it should, by default be Absent. (myTotalHrs is input box while NpCode is a Dropdown.) P.S view attachment $TotalHrs = array( 'name' =>...
1
1,683
thread by: eunice613 | last post Dec 12 '15 by: zmbd
This is my view page <html> <head> <title>Codeigniter & Extjs </title> <Link rel="stylesheet" type="text/css" href=" <?php echo base_url();?>/ext/resources/css/ext-all.css"> <script type="text/javascript" src="<?=base_url()?>/ext/ext-all-debug.js"> </script> <head> <body> <script type="text/javascript"> Ext.define('Person', { extend:...
0
1,401
thread by: samvb | last post Dec 10 '15 by: samvb
Ola all, I am trying to use roxy fileman with ckeditor to browse files. In its conf.json is a setting RETURN_URL_PREFIX which when explicitly set works fine (i.e. images are shown and all). But i have a dynamic envrionment and setting this now and then is quite hard. Someone suggested on SOF to play with main.js and sure enough lines 704 and...
1
1,194
thread by: code14007 | last post Dec 9 '15 by: Dormilich
Am fetchi the selected listbox values in dropdown. and when am choose the 2nd or 3rd value from that dropdown and hit the submit button, only top value(1st value) of that dropdown is get select plz give me some suggetion
1
1,092
thread by: jiah | last post Dec 9 '15 by: Dormilich
I have a column with employee Id and employee name.When i enter the EmployeeID in the textbox the employee name should be automatically populated from the database in the second textbox
2
1,381
thread by: saravanan9655 | last post Dec 18 '15 by: gits
I want the session destroy on browser close using php..
3
1,318
thread by: john464 | last post Dec 7 '15 by: Dormilich
Hey i want to know How to Auto Refresh My After 10 Seconds? just because to get more impression on site, if there is any code then please give me and advice me how can i use this THanks
5
1,252
thread by: KingIcode | last post Dec 7 '15 by: KingIcode
This how i validate my required characters and the length JavaScript function submitChangej(){ var inputlastName = document.getElementById("lastname"); var inputfirstName = document.getElementById("firstname"); var inputmobileNumber = document.getElementById("mobilenumber"); var inputidNumber =...
1
1,537
thread by: Veena hosur | last post Nov 27 '15 by: Dormilich
hi friends, can any one out here help me by giving me the code to connect to an postgre database using javascript.
5
1,427
thread by: izawad | last post Nov 22 '15 by: zmbd
hi help me, my mongo database not connect with my node server. here my code. .................controller.js............... function AppCtrl($scope,$http){ console.log('hello 123456789') $http.get('/contactlist').success(function(response){ console.log('i requested') $scope.contactlist = response;
3
1,391
thread by: Toxicous8 | last post Feb 1 '16 by: Toxicous8
Can I have a usable search box in my website?And if yes,then how do I do it?
1
3,348
thread by: inspectelement | last post Nov 19 '15 by: chaarmann
&lt;div class="docs-butterbar-container"&gt;&lt;div class="docs-butterbar-wrap"&gt;&lt;div class="jfk-butterBar jfk-butterBar-shown jfk-butterBar-warning"&gt;JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt; I have Javascript enabled. Is this a coding problem and can it be over ridden? Also, I do not...
11
2,719
thread by: KingIcode | last post Nov 10 '15 by: Dormilich
I want to validate company registration number in JavaScript which should be 14 characters long. EG : 1993/041545/23 Currently this how I validate it. HTML CODE <label >Registration Number:</label></br>
1
1,637
thread by: jobin petyer | last post Nov 10 '15 by: Dormilich
The following recursive code will cause a stack overflow if the array list is too large. How can you fix this and still retain the recursive pattern? var list = readHugeList(); var nextListItem = function() { var item = list.pop(); if (item) { // process the list item... nextListItem();
7
1,407
thread by: izawad | last post Nov 16 '15 by: Dormilich
hi friends; i am newbie in java script and i make a school app i want to use for data base like mango and fire base. how can i use? and what is the differences both. secondly how can i make a spinner loader when user validation or registration form will fill then show spinner and get my app. thanks to all advance.
1
1,150
thread by: tdrsam | last post Nov 5 '15 by: tdrsam
I'm trying to make a page transition and I've got a CSS3 animation that works well enough. This one: @keyframes myfadeInAnimation { from { -webkit-transform: translateY(1000px); transform: translateY(1000px); } to { -webkit-transform: translateY(10px); transform: translateY(10px); } } section{ -webkit-animation: myfadeInAnimation .9s...
0
1,049
thread by: TaRoshka | last post Nov 3 '15 by: TaRoshka
I am working on some stuff. As you can see from the link http://logic.al/lufra/rreth-nesh/historiku there are bubbles around the content. Those bubbles were supposed to move (float) up and down while scrolling the page. like here.: https://moz.com/about Can anyone help me with this issue? Thank you !
1
2,992
thread by: java9 | last post Nov 5 '15 by: chaarmann
I want to delete a row which is checked but my program is deleting all the rows with input type: checkbox. iam using javscript in jsp function deleteSelectedRows() { $('#dataTable tr').each(function() { $(this).find('input:checked').each(function() { $('#delDependNames').attr("value", $('#delDependNames').attr('value') +...
3
1,423
thread by: harman30 | last post Oct 30 '15 by: harman30
Here are two samples of main page where posts are shown, first page is simple code where 3 posts are shown and below them is a load more button which loads next three posts. Second code is bit complex it displays three posts in table, means three posts in single row with load more button at their bottom now problem here is when I click show...
1
1,253
thread by: harman30 | last post Oct 29 '15 by: Dormilich
Below is the javascript part and load more button which I am using to load more posts from database it works fine I want to show a 'no more posts' message when all posts have been loaded but do not know how to do that exactly. Hope you guys can help. <script type="text/javascript"> $(document).ready(function(){ ...
0
1,010
thread by: harman30 | last post Oct 29 '15 by: harman30
In this code I am displaying errors with javascript and in case javascript is disabled php will work, error messages are displayed by div at the bottom so whether error occurs or not, div will always be there, though message is displayed only when there is error. I want that the div should be called only when error occurs because it is causing...
11
1,577
thread by: izawad | last post Nov 4 '15 by: Dormilich
I make a app about school data use angular, node , express and mongo db. how can i convert this app into mobile app?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.