This might be a simple thing for you guys but need support on below..
Will have an input field:
"Input your tracking number" and when the # is entered (let’s say 123456) and clicking the button should link to a certain webpage: https://xxxcargo.com/tracking/123456
this simple… but need your support on how to input in html
thanks in advance
I am a newbie with no solid experience and checked some of the similar posts but were not exactly what i need
2
Answers
You can use javascript for this.
Steps which you can think of for a similar problem
Here is how you can implement your solution.
NOTE: StackOverflow might prevent the code from opening a new tab. But try this locally it should work fine.
Here’s a working JSFiddle that implements this functionality
HTML
JavaScript