code correction help
Page 1 of 1
Re: code correction help
Theoretically, there is no actual mistake in the coding (just horrible indentation and spacing), just that you could change $('#submenu').html().replace() to $('#submenu').text().replace() to be sure that you are not overriding any HTML tag attributes.
Also, the regular expression's case-insensitive flag (next to the g) is unnecessary as punctuation characters have no cases.
Also, the regular expression's case-insensitive flag (next to the g) is unnecessary as punctuation characters have no cases.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum