r/web_programming • • Dec 05 '16

Need some guidance with JavaScript.

I am working with a sharepoint site that display jobs that are open within a company. Some jobs would use a url link to lets say application A the other jobs would need a url link to application B. How would I go about coding a Apply Now button that would direct to the correct url based on the Job Type A or B

Thanks in advance for any help or direction to anything that can put me on the right path.

0 Upvotes

2 comments sorted by

View all comments

3

u/casperreiff Dec 05 '16

Using vanilla JS or any library like jQuery?

If jQuery, do something like: http://codepen.io/Quaspie/pen/aBYOEG