I am sorry i am not able to get your requirement clearly. What is "User Id" and "content"? Where is it? and what is "paid_Card.html"? Please make it clear.
I can help to fix some syntax error in your code:
line 6 should be:
- window.location.href="paid_Card.html";
line 7 should be:
- document.getElementById("prepaid").card.innerHTML = "test test test";
Hi, Thanks for reply.
The requirement is like this, this is for HTMl page only, There is no backend coding.
1. There are 3 login IDs are there Ex: 001, 002, 003
2. The User will come to the login page and he enter his Id number (ex:001),
3. Onclick on submit button the page will go to paid_Card.html page
4. There is diffrent text or content for diffrent IDs,
Ex: for 001 ( Hi welcome to the test page and read the content)
For 002 ( How are u? what are u doing some text)
5. Based on the user ID (001), the text has to display in paid_Card.html page.
6. If user enters 002 in login page, It will go to same page (paid_Card.html) But the text or content is diffrent.
I think now u will get clear idea. Please let me, if u need more information....