I have looked for a couple of hours for what seemed like an easy question and have tried several things I've found here and elsewhere, but cannot answer this. I run a radio station and the servers outputs the name of the current song in a short script. The script is
and works fine. What I want is something that is the equivalent of the Linux > or >> operator so I can store the data that gets put to my screen into a variable instead, so I can use it elsewhere. Sorry if this is so basic, but I've tried a number of different things and just need some specific simple code to fix this. Thanks
Try something like this using jQuery. It is a complete solution to your question.