15,688 Topics
![]() | |
I am a 19 year old guy who is yet to get a CS degree from the university. I learned web development on my own from resources online. Mostly from youtube videos precisely from thenewboston and phpacademy and a few text-based tutorials from w3schools.com. I am good with HTML, HTML5, … | |
Canvas won't draw a [line](https://jsfiddle.net/WildWind/axboxp2e/) ? | |
Hi, I have a problem with some JavaScript code, i have three fields in my form scoreActuel, addedScore and NewScore, i used the onChange function because I want that every time the fields addedScore is updated , the field NewScore is updated as the sum of the values of the … | |
Is it possible to run two(2) funcions with the same id? `<a href="#icon" class='icon' id='icon' > ` | |
So I currently have a listbox which dynamically generates its members from the database. It has name and id set to "availablePets". When one of the items in the list is clicked I want to populate some other fields on the screen by quering the database for the rest of … | |
I am trying to pass a value from a hidden input using ajax but console says whatever im doing is not a function `Uncaught TypeError: "#name".val is not a function page.php:35` which is this line : `var name = ("#name").val();` html: <input type='hidden' value='$newname' id='name'> ajax: var name = ("#name").val(); … | |
I am having no luck with this code but for some reason i can get this element to work but not the other one. here is my code. <td><a onclick="javascript:approve_account_function(<?php echo $row['id'];?>, <?php echo $rownumber;?>)" class="btn btn-success" name="yes_account" id="yes_account">Approve</a></td> <td><a onclick="javascript:decline_account_function(<?php echo $row['id'];?>, <?php echo $rownumber;?>)" class="btn btn-danger" name="no_account" id="no_account">Decline</a></td> … | |
Hi i made a jquery mobile website, but when i upload it to Phoegap and test, i can't connect to the database. I'm using the Dreamweaver login form in php, and loading from a database. Code to load from database: <?php // *** Validate request to login to this site. … | |
Hi. Im trying to update a page with a form using AJAX but it isn't working. Nothing happens. I have a table and one of the columns has an anchor tag like this`<td><a href='#' value='$name' class='request' onclick='request(".$name.")'>$status</a></td>` so when the user clicks on Request a form opens up via ajax. … | |
I have this .js file called by my page. The function I'm caling with my onclick is working before the button is clicked. window.onload = function() { document.getElementById('clickMe').onclick = testOne(); } function testOne() { var para = document.getElementsByTagName('p'); var length = para.length; for(i=0; i<length; i++) { document.writeln("+"); //document.getElementById(para[i]).style.font = "Arial"; … | |
Hi, first, sorry for my english i am not good at all, I am trying to create a form that contains two drop-down lists , the first is related to the second list , I noticed that the first list of data ( joursemaine ) appears as a question mark … | |
I am new in programming languages.I was trying to learn web socket with javascript to this [site](http://socket.io/get-started/chat/), but i am not understanding something that why i need to use **Package.json**. I tried to google a lot, but can not find something useful. One more thing if i create Package.json then … | |
I have a datepicker which is set up to select a whole week. I have two buttons which are supposed to move the selected dates forward and backward a week. The forward button works all the time, but the backward button only works if the month changes. If the month … | |
Hi, In a form, I have 4 select boxes(default), and two text boxes(default). If I click the first (static values) based on that next second(new) select box will come (it has been done by ajax), based on the new select box, I display checkboxes based on the select box values, … | |
I am trying to get the text (not value) of a selected item in a select box <option> and display it elsewhere on the page. I have to admit im totally new to this so im going to need an explanation on plugging in a JQuery file... Thanks! | |
I would like to know how to create a custom link on any of my website page to launch directly this modal contact form. thanks in advance. [Click Here](http://www.elated.com/articles/slick-ajax-contact-form-jquery-php/) | |
I'm trying by clicking on a `button` to toggle a class on a parent element which is 5 levels higher, so I though that this would do the trick: $('.btn-list').click(function() { $(this).parents('.mix-serie').toggleClass('animate') }); But unfortunately it didn't, but if I just add a class, $('.btn-list').click(function() { $(this).parents('.mix-serie').addClass('animate') }); it does! … | |
I found this https://github.com/inorganik/CountUp.js As my knowledge of javascript is very weak, i am asking for your help to store the counter result local, then display it on the user`s browser... var options = { useEasing : true, useGrouping : true, separator : ',', decimal : '.', prefix : '', … | |
Hi, I am trying to load a page which has a ng-table in a page with jquery my function to load the subpage in the main page is like this: function loadSubPage(id){ var random = Math.random()*1000000; $("#aanvullingGegevens").load("gui/aanvragen/gekende_patient.php?patientID="+id+"&random="+random); } and this is my sub-page <script type="text/javascript" src="scripts/angular/angular.js" ></script> <script type="text/javascript" src="scripts/angular/ng-table.js" … | |
I'm using this code right now: // JavaScript Document $(document).scroll(function(){ if($(document).scrollTop() >= 470) { $('div.slide-in-section1').effect('slide'); } }); And of course I did realize that whenever you scroll just a little more it will keep re-running this bit of code. But I figured I had a fix, which was this: // … | |
How would i make a request to the etsy api? I want the grid_cell div to show the results for something typed into the search bar. The grid_cell div should display an image for whatever the user searches for. [Click Here](http://jsfiddle.net/jmann1622/wbL1t04t/) | |
Hi all, Been trying to do this for a while, I have a .js script which utilises node.js and socket.io. I'm trying to make it so that when I have the page localhost:3000 open and I type !follow in an IRC chat it will change the web page. **Index.html:** <!doctype … | |
How would i make a request to the etsy api? I want the grid_cell div to show the results for something typed into the search bar. The grid_cell div should display an image for whatever the user searches for. Jsfiddle. [Click Here](http://jsfiddle.net/jmann1622/wbL1t04t/) <!DOCTYPE html> <html> <head> <title></title> <meta name="viewport" content="width=device-width, … | |
I am new in programming language. I was trying to create an websocket connection, this is my all line of js var url="ws://localhost:8080/WebsocketTests/"; w= new webSocket(url); and i got this error: **C:\xampp\htdocs\WebsocketTests>node test1.js C:\xampp\htdocs\WebsocketTests\test1.js:3 w= new webSocket(url); ^ ReferenceError: webSocket is not defined at Object.<anonymous> (C:\xampp\htdocs\WebsocketTests\test1.js:3:8) at Module._compile (module.js:460:26) at … | |
Hello, I search wysiwyg editor with fully support of HTML and PHP. I dont want extra <p> and <b> tags after <?php and before ?>. I prefer to work with PHP to get the content with $_POST. I dont want ajax methods. I test some editors all morning and cannot … | |
I have **NaN** error with following code. I have timer of 10 seconds to reload page. When Page reloads first jquery knob gives NaN value and then starts countdown of 10 seconds. There is problem when seconds are 60. It shows NaN, 0 and then counts from 59. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> … | |
Not sure if this is possible, but I'd like to transition between 4 words on my site. The words are pr0digies, 50 All-stars, 100% Max, and EV0LVED. In between those words, I'm trying to have the number 0 in pr0digies count up (0, 1, 2, 3, etc...) to 50 while … | |
Hi all, I hope someone can help. I've downloaded the raptor WYSIWYG editor. I've got it working the way I want - i.e. I can ad more fonts and heading styles, it edits the screen and I can get it talk to Php and MySql. However, I have aproblem, I … | |
I have been cuddling with OOP programming. JavaScript seemed like a good start. I went to w3schools.com. function person(first, last, age, eye) { this.firstName = first; this.lastName = last; this.age = age; this.eyeColor = eye; this.name = function() { return this.firstName + " " + this.lastName this.capitalize = function() { … | |
I have been trying to do this code from past two days. The problem is i have a select box which i have 4 options. And i have to create select boxes with 3 options each for all the options of main select box dynamically using javascript. But the problem … |
The End.