473,550 Members | 2,713 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.
1
2,441
thread by: user959 | last post Mar 15 '18 by: gits
create a new class on JavaScript called “MyString” that computes a histogram representing the number of times each letter of the alphabet is in a given text.
0
1,454
thread by: golubhaiya | last post Feb 26 '18 by: golubhaiya
i want to binde api data so it can render highchart according to data in angular 2 and typescript. export class DashboardComponent implements OnInit { //api having some data phones = this.http.get('http://localhost:7788/countphones').map(res => res.json()) laptops = this.http.get('http://localhost:7788/countlaptops').map(res =>...
0
1,195
thread by: Sharma08 | last post Feb 23 '18 by: Sharma08
Hello,I have created an ms access database ,now I want to link that to a html login form,how can I do that.,and when I enter username and password which is present in database it should lgin to an another form else it should show an error .Umeed help regarding this please
3
2,244
thread by: sploxon | last post Feb 22 '18 by: Frinavale
i want to make it so that when a user copies an image from a website and pastes this image in, say, their email client, the <a> tag URL which surrounds the image tag is not copied along with the image. This was brought to my attention by a colleague who copied images from the website into Outlook which retained the URL somehow. As she did not...
0
3,927
thread by: robertjohnson1 | last post Feb 9 '18 by: robertjohnson1
In the event that your definitive decision for a development option comes down to these two choices, you will need to acclimate yourself with the key highlights that make Ionic and React Native Technology. Developed Application Type – The major difference between react and Ionic is the application these two technologies create. Hybrid software...
2
2,581
thread by: vegasvato | last post Feb 1 '18 by: gits
I am one of those old school dinosaur types that has been around since the great depression and to be perfectly honest with you I am very comfortable with JavaScript and do not revert to plug-ins such as jQuery when I can get the same job done with pure clean JavaScript, but when I am trying to capture values from select options lists I used to...
12
4,709
thread by: ReA1 | last post Feb 1 '18 by: RockybBalboa
I have a function, say A() that calls some elements from the database depending on the range provide. What I want to do is, on the UI, there is a 'Load More' button, which when clicked, displays next set of items, by calling the above function A() by making an AJAX call using jQuery. I went through some forums, but was not able to get a clear...
1
4,480
thread by: katiejeynes | last post Feb 1 '18 by: RockybBalboa
I have a content area in which I would like to display some text when the page loads and when a button is clicked (biography). When another button is clicked (AFT) I would like this text to be replaced by the content of a URL via an iframe. At the moment I have managed to get the text to appear when the page loads, however I can't get the...
4
6,600
thread by: C CSR | last post Feb 1 '18 by: RockybBalboa
I hope this is just a syntax issue, but I can call a function when a page is served up like this: <% Function FFcolor(x) Select case x case 1: FFcolor = "#FF0000" case 2: FFcolor = "something else" etc. End Function %>
0
2,769
thread by: robertjohnson1 | last post Jan 22 '18 by: robertjohnson1
Getting stuck in ambiguities and dead-end situations are quite common while coding. If you have written codes in JavaScript you can relate to what I mean to say. Complicated codes leave you in the empty void and the primitive tools and techniques cannot get you out of the situation. A little carelessness can result in excess time loss, identifying...
0
1,805
thread by: riphe | last post Dec 16 '17 by: riphe
Hi all. I'm wondering how this has been done: http://www.nytimes.com/newsgraphics/2013/10/13/russia/ I try to visualize a trip, like it has been done on the left hand site of the nyt-site (scroll down to see…). Could anyone guide me on how to achieve this? Or point me to tutorials? Thanks for your help! Phil
2
1,825
thread by: greg79 | last post Dec 14 '17 by: greg79
I get error with this code, it seems like ctx is not known inside the function. How can I reference the canvas from within the function? var c = document.getElementById("canvas1"); var ctx = c.getContext("2d"); var isDrawing = false; var mX, mY, rX, rY; function InitThis() {
1
1,837
thread by: Sanjeev123 | last post Nov 17 '17 by: V1BE
please help me i did not get idea how to upload image using javascript
0
1,853
thread by: kubisztal | last post Oct 6 '17 by: kubisztal
I am making use of the redux-offline plugin for offline first react-redux app. It works fine but I am facing issues with configuration. I tried the code: offline(...offlineConfig, { effect: (effect, action) => { console.log("Executing effect"); } }
2
2,284
thread by: bits2017 | last post Oct 5 '17 by: bits2017
Folks, I'm trying to add a content filter (banned words filter) onto a web proxy. When the Javascript detects any of the banned words on the page, it should: * As soon as a banned word is detected, it should not check for any more but immediately echo/print on screen/display a warning to the user with the first banned word spotted: "Banned...
1
1,970
Exequiel
thread by: Exequiel | last post Sep 28 '17 by: Exequiel
I'm developing a website that needs to be parallax, how to apply a parallax effect on my site? I have this image that needs to be done while scrolling. this is the site . the pdf must be the output, is it possible in css only? or need to code in js? and how? http://dev.wylog.com/itrust/html/ thank you so much. ^_^
1
2,499
thread by: james88 | last post Aug 21 '17 by: josh kale
I'm looking for Javascript obfuscator tool that can help protect my Javascript code. I've just found this one: Javascript obfuscator Has anyone ever tried it? Can you suggest some other tools?
2
2,610
thread by: KushShukla | last post Aug 19 '17 by: james88
I wrote a chrome extension using javascript, which receives user inputs and using AJAX connect to PHP residing in the server to write them to specified folder in server. I want to remove this PHP(server side) layer. Is there any way I can directly write a JSON file to server, without the need of any server side language? This will make my...
0
1,599
thread by: Frederik1988 | last post Aug 4 '17 by: Frederik1988
I have a woocommerce store and on my archive pages I want to hover over the product and have a minimilised view to come up like a tooltip. The hover feature must follow the mouse, and the content that are displayed must be dynamic (pulled from jSON feed). This is my test store where the products are displayed:...
0
1,887
thread by: Minaye | last post Jul 23 '17 by: Minaye
A browser like Firefox is able to load images from a site. When a user for example right-clicks and views image info, he/she is presented with details like file size in bytes. I want my code to do the same, read image size in bytes. How can I do it.
1
1,581
thread by: neelsfer | last post Jul 6 '17 by: neelsfer
I have this Ajax with PHP that determines my value correctly from a php sql query, on my "test page". When adding the code to my main page, the button adds the correct data for a half second, and then removes it, leaving the "categories" input textbox empty. The rest of the page is populated onload from local storage, before i press this...
0
1,423
thread by: DevMahmoud | last post Jun 18 '17 by: DevMahmoud
i have two input every input upload one image , and i write script to validation width and height for one input only and i don't know i use this script to validation two input. this is html code:- <input class="form-control valid" data-val="true" data-val-required="This field is required" id="File1" name="File_ar" type="file" value=""> ...
1
1,336
thread by: arvindvyas | last post Jun 7 '17 by: Dormilich
sir,i have javascript file,this file link in html script for exp.< a href="js\jsmyfun.js"></a> above file could view to press mouse right button please sloved this problem.
5
1,387
thread by: bibibobi | last post Jun 7 '17 by: Dormilich
Is there any good way to tell whether the current browser is a 360 browser by javascript?
4
1,674
thread by: chijioke | last post Jun 4 '17 by: jmrker
please i have a problem,i create new input field when a button is click,but i want each of the new create field to have a unique id,so i can use it for calculation in javascript. function create(){ var newinput = document.createElement('input'); newinput.placeholder = "test1"; newinput.id =...

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.