Help - Search - Members - Calendar
Full Version: Javascript replace string
HTMLHelp Forums > Programming > Client-side Scripting
robby
My apologies if this is in the incorrect forum, I just need a little help.

I belong to another forum and included within the site are groups. I'm suggesting an idea and I'd like to provide a real, working example. Here's the page. Basically, what I'm trying to make is so that when you click 'join group' then '(0)' under 'requests' will change to '(1)'. I've tried a few different possible scripts but I'm a javascript newbie. Any help would be appreciated.

One more thing, can html and/or javascript be displayed in an 'alert'?

Thanks smile.gif

P.S. I know the page is a little strange. At times, the actual site can be strange tongue.gif
pandy
The only thing I can answer is this.
QUOTE

One more thing, can html and/or javascript be displayed in an 'alert'?

An alert is created by JavaScript and it can only display text (that can be created by
JavaScript).

CODE
alert('Hallo!');
Darin McGrew
I've moved this to the Client-side Scripting forum.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.