I’m trying to upload files to the server without page refresh. The uploading works but the page reloads after the uploading is done which is not what I wanted. I’m redirecting to an iframe (“myFrame”) to stop the page reloading but it appears this doesn’t work correctly. What did I do wrong?
I cant reveal my project details here. So I am taking an example of Electrical circuit.
Suppose we have 10 lights at home and there is a centrepoint from where the electricity flows to the lights when switched on. I want to draw a logical view that at a given time, from the centrepoint, to what lights the electricity is flowing.
This representation should be in 3d View. Imagine, I have been provided with a unique symbol for centrepoint and switch.
My thought process towards this is generate a json data from my application and feed this data to HTML5 which can render the json data into 3D representation.
But my query is, the data I have is quiet complex. Say, centrepoint is connected to many subnets and set of lights are connected to each of the subnet and at a given point, what subnet is connected to centrepoint and what lights are getting electricity is connect to the particular subnet. I should show neither the subnet nor the lights which is not getting the electricity (assuming, electricity will flow to subnet when atleast one light is glowing from that subnet)
How can I render this dynamic data in HTML5 in 3d?
Kindly please point me to the example projects in github.com or direct me right tutorial.
If HTML5 is not the right choice, Kindly please direct me to the right technology that I can use to do this?
I have created a form where a user gets to type in data that is saved in variables when the data is submitted. I am requesting a solution that will both save the user’s data whilst also redirecting the user to a new .html-page when the button is pressed.
As you can see above, the button is activating a function, that will save the info like this:
var firstname = document.getElementById("firstname").value
var lastname = document.getElementById("lastname").value
var adress = document.getElementById("adress").value
var password1 = document.getElementById("password1").value
var password2 = document.getElementById("password2").value
How can I make this possible? Sincerely, Decentralized.
I am trying to get the data from database and display it in select option through drop down menu. I am getting the data correctly in java script page as well. But it is not displaying in the drop down menu of html.
<td><select id="orgname" name="Oname" onload="getOrganizationname();">
<option selected disabled value=" ">Choose your Organization</option>
<!-- <option value="1" >xyz</option>
<option value="3">Citrix</option> -->
onload i am getting this in alert msg(trying to debug) This is info. from database:
Appreciate your help in advance.