15,120 Topics
| |
I have a script that opens a camera and takes a snap. I want it to be able to create an id of the photo and then store it. HTML <a href="javascript:void(0);" class="updateControl2" id="webcamButton" title="Open Camera"><span class="boxWebcam wallbutton">Open Camera</span></a><br /><br /><br /> <video id="player" controls autoplay></video> <div id="webcam"> <button id="takeSnap" … | |
I'm just learning web development using nodejs and so I need to choose some frameworks to work with. I really like hapi and want to use it. But I also need something to build the view of the website. Some choices are quasar, vuetify, react, etc. But I really don't … | |
Hello, I'm having trouble posting JSON to a url using Flask, AJAX and Javascript. Essentially, I would code using a library [Jquery Sortable](https://johnny.github.io/jquery-sortable/) to create a sorted list. From that sorted list I want to post to the server. The problem is that the server does not recieve the JSON … | |
Hello, i use a script that allows a user to take a photo. I use a Shockwave Flash Object (.swf) to open the camera and i don't want to do this. How can i do it by callin' the browser prompt that ask you to open the camera? This is … | |
I am trying to auto submit this form when the page loads, and I have tried many different scripts, but none seem to work. Could someone help? <html> <head> <title>Untitled 1</title> </head> <body> <form action="http://www.websiteurl.com/index.php" method="post" name="sendform"> <input type="hidden" name="ID" value="89734957838732498723"><input type="submit" name="submit" value="Submit"></form> </body> </html> | |
I am starting a project that has been managed using a spreadsheet until now but needs to be converted to a mysql/php application. The amount of rows in the spreadsheet has exceeded something that can be easily sorted, filtered and edited. A particular field has a weak entity that is … | |
I would like to implement a script to my website that allows my users to invite their friends on Facebook to visit my website. I made an app account on facebook, i use facebook login api runs ok. I used to have a script that opened a facebook frame on … | |
I am not sure what DOM is. But based on my understanding through my lecture slides and online source. By applying DOM approach, which allowing you to create/update/modify the certain HTML elements dymanically. Am I correct? | |
How can I validate each of (upper textboxes) using AJAX to see if the username and password is correct and if they are not correct, display the error messages in red below each respective textbox. Here is my code. Any suggestions would be help. <html> <h1>Welcome to Cuyahoga Community College … | |
How can I get my current content to slide to the left and bring in new content from the right (after clicking on button 1) when an existing student's username and password are correct, and if it's not correct display error messages that either the username or password isn't correct … | |
These are the options available in t_plan table id plan_name -- --------- 4 - free 5 - Gold 6 - Silver 7 - Platinum etc My object is to as user click on an option in the form it will populate the following input boxes next to select box from … | |
Any idea how to change the color of a scroll down item? The normal color is grey and I would like to change it into green color. Any idea how to do it? Thanks in advance. | |
I can't recall who on this forum supplied me with [this](https://youtu.be/hQVTIJBZook) video; it was a great video a little humerous at times and I agree with alot of what Crockford said at the end, although It surfaced a few questions. Is strict mode still relevent today I'd prefer it over … | |
HELP HELP HELP!!! I need an assistant on a project am working on using php/javascript. Its a forced matrix. HOW DOES IT WORK? A person is automatically assigned three downlines without any referral based on id. Starting with the admin, lets say 100 persons register, three will be placed under … | |
Hello, I have requirement to read MS Word file data using DevExp and then loop through the content and save content to DB. how can I do it with DevExp? Thanks, KK | |
There is some kind of rendering problem in my Javascript/HTML5 Canvas code that I haven't been able to spot. All the assetts are there, for some reason my sprite goes invisible and nothing loads when I enter the second room except the pizza slice that is deployed when I press … | |
js file : function countdown(endT,callback) { var days,hours,minutes,sec,timer; end = new Date(endT); end = end.getTime(); //Get initial Date in Milliseconds, if (isNaN(end)) { alert('@ countdown.js @ "Invalid Date", valid format- mm/dd/yyyy hh:mm:ss TT '); return; } timer = setInterval(calculate,1000);//Timer to calculate remaining time function calculate(){ var current = new Date(); … | |
Hello i have a problem. It seems that the value of this this input `<input type="hidden" id="uploadUid" value="<?php echo $sessionUid;?>" name="update_uid">` in here `formData.append('uploadUid', uploadUid.value);` When i put an alert `alert(uploadUid.value);` on Firefox it returns just fine but on Chrome returns undefined Any guess why? | |
For clairifying you can add a string to a variable then add other variables as such; var one = "test", super,apple,pear,cardboard The string "test" will be assigned to the variable one as well; super, apple, pear, cardboard will also be created variables ? | |
Employee.php <div class="col-xs-12"> <h2>Listing Employee</h2> <hr> <div class="employeeGrid"> <table> <tr> <th><a href="" ng-click="orderByField='name'; reverseSort = !reverseSort">Name</a></th> <th><a href="" ng-click="orderByField='age'; reverseSort = !reverseSort">Age</a></th> <th><a href="" ng-click="orderByField='gender'; reverseSort = !reverseSort">Gender</a></th> <th><a href="" ng-click="orderByField='company'; reverseSort = !reverseSort">Company</a></th> <th>Action</th> </tr> <tr ng-repeat="person in employee | orderBy:orderByField:reverseSort""> <td>{{person.name}}</td> <td>{{person.age}}</td> <td>{{person.gender}}</td> <td>{{person.company}}</td> <td> <button class="btn" ng-click="viewEmployee(person.id)"><span … | |
I wanted to pass two values to a click function and use the values to load a file in to a specific DIV. The file to load is called ‘displayTwo.txt' from the 'partialContent' directory and the DIV that the contents of the file will be place in has the ID … | |
All, Using the standard ac_quicktime.js as shown below - how does one get the video to auto play and then also keep looping: <script language="JavaScript" src="ac_quicktime.js" type="text/JavaScript"></script> <script> function jumpToTime(timeInSecs) { try { var vid = document.getElementById("iaatt_video"); if (vid && ('VIDEO' == vid.tagName) && vid.currentTime) { // video tag, use … | |
Hello i have a problem uploading a file in the local server on Chrome. Works fine on Firefox, it uploads as requested, saves to localserver and puts the values on the database as wanted. But it doesn't on Chrome. On the inspector i am getting this error `index.php:1 Uncaught (in … | |
I want to learn web programming with Java. I'm using eclipse neon with tomcat 8.5.13. My question is do these tools support asynchronous programming and server push technologies or should I use other tools? Thanks | |
I have the pagination portion working as I would like it, but I am unsure of how to get the 2 html dropdown menus to filter content down further, to show the content that is only relevant to the stuff selected with an onChange event. I have included my entire … | |
The code below opens a modal window successfully. When I attempt to open the modal window after closing it, my browser window freezes. To unfreeze I press the escape button on my keyboard. Employee.php <div class="modal-footer"> <button type="button" class="btn btn-secondary" ng-click="closeEmployee()" data-dismiss="modal">Close</button> </div> EmployeeModalController.js <div class="modal-footer"> <button type="button" class="btn btn-secondary" … | |
customer.xml <?xml version="1.0"?> <customers> <customer> <ID>C1</ID> <FirstName>Kah Hon</FirstName> <SurName>Wong</SurName> <Email>gahhon@hotmail.com</Email> <Password>081292</Password> </customer> </customers> login.js var xHRObject = false; if (window.XMLHttpRequest) xHRObject = new XMLHttpRequest(); else if (window.ActiveXObject) xHRObject = new ActiveXObject("Microsoft.XMLHTTP"); function reset() { document.getElementsByName('txtEmail').value = ""; document.getElementsByName('txtPassword').value = ""; } function login() { var email = document.getElementsByName('txtEmail').value; var pass … | |
Hello i want a script that shows various text content in the foreground and closes witn an X and shows the original page. Any suggestions? | |
please I'm a student of standard institute of tech.. studying comp. sci., we've been asked by our lecturer that all of us should look for all way to view answer on an online CBT(Computer based testing) test which is powered with asp.net, js, HTML, css. plz I'll really appreciate your … | |
Hi guys, I have a rather interesting problem. Basically my application has a javascript object literal in this format: var myObject = '{text:"my text 1", anotherProperty1:"This is another property1", anotherProperty2:"This is another property2", anotherProperty3:"This is another property3"},' + '{text:"my text 2", anotherProperty1:"This is another property1", anotherProperty2:"This is another property2", anotherProperty3:"This … |
The End.