enter image description here
enter image description here
enter image description here
Hi there,
I am trying to create two buttons save and update where the difference between them is the save button will save the data navigate to the back page and the update button will save the data and will stay on the same page.
I am not sure where I am going wrong but I am unable to fetch the id in the if condition of Java Script.
Thanks in advance.
Related
I am trying to filter products in React based on the category which is stored in NodeJs. The search using input is working as it should, but when I try to filter them using a button it only filters the first button (ex: Tart), and once I click on another button all the products disappear and nothing shows until I refresh the page. I have been trying for two days and I can't figure it out.
Fetch data enter image description here
Input filter and button filter enter image description here
categories enter image description here
products enter image description here
The problem here seems to be that you are using filteredProducts instead of using the state that you have assigned the value using setProduct i.e., product.
You should do product.map(x)=>{...} instead.
And next time you post a question, please ensure that you are giving your code in text form instead of images as it's not really easy to read it otherwise.
I am new to HTML, and im trying to do something very simple:
There is a "code" in Mysql database with a value of 100.
In the HTML page there is a place where you enter the code, and if its correct it loads the Value and shows it on the page (which is 100).
There is a button, when you click on it, it takes away 5 from the value and saves it in the MYSQL database.
When you refresh the page and enter the code again,it loads the value and shows: 95.
How do i create this?
Im having hard time with this.
Thank you for your help.
I have a journal field on my form. I am copy pasting images from a webpage to this journal field. Unfortunately these images are saved as references to that webpage. Is there a way that I can save these images to that form(or record)?
Need more info to help you. What version are you running?
Assuming Geneva or later, adding an image attachment to a record automatically makes it show up in the activity log. You cannot place an image in a journal field directly.
I am using summernote editor for my application . The content getting saved how user has saved, ex- first content, image and then video. I want to display the content in same sequence as user has typed and saved. Please suggest something. Thanks in advance
I have button, when I click on button , Iam getting the encrypted string response from backend, with this response I need to create a image and then download the created image.
Could you please any one help on this requirement?