I am not a JS guru either. I have used JS snippets within HTML, but not this kind of application that is completley written in JS. So I will be thankful if you tell me how and where to start the coding for this app. I dont want you to write the code for me, but rather how to start and what would be the building blocks in plain text? Hope you know what I mean. I am a bit lost on how and where to start, otherwise the coding will be no problem once I know what to do.
jedaisoul is right, with js on your sever, anyone can access it. What you describe sounds user specific.
First to address the comment in your opening line.
Originally Posted by Atrisa Milani
The regulations for a vast majority of the world changed and any kind of option for things like email have to be an opt-in option. They used to be an opt-out option but too many people signing up to forums and suchlike were not unckecking and the spam rocketed.
c = confirm("Click OK to sign up to news letter or cancel to continue");
msg = (c)?"OK":"Cancel";
alert( msg );
... and please remember to wrap code with forum BBCode tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
Thank you all for your replies and comments. I am building the optout app on a marketing software. The markering software has millions of users who have registered with it for digital marketing emails and who get emails from it on certain times. So when a user clicks the optout link, browser opens and the optout app gets the person's id (which is ciphered). Then the app redirects the user to customer's website with a cookie attached. Then user gets the optout page, where user gets a message saying 'are you sure you want to optout', and he/she clicks YES. After this the user is served with an OK page linked to the optout app. The optout app after receiving the information replies to the browser with an 'Opt out completed message' and at the same time using the recipient's id, unsubscribes that user from the subscribers' list and writes the data to the optout table in the database used by the marketing software.
As I said the whole idea is new to me and this all I have got from it so far
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread