0

I want to print mod value in javascript document.write

for example my url is http://sitename.com/test.js?mod=57

now I want print 57 in document.write

document.write('<img src="http://utools.com/tools/mousse/mousse'+mod+'.png" />');
Cœur
  • 37,241
  • 25
  • 195
  • 267
ebrahim
  • 87
  • 1
  • 10
  • possible duplicate of [How to get the value from URL Parameter?](http://stackoverflow.com/questions/979975/how-to-get-the-value-from-url-parameter) – JJJ Oct 26 '14 at 17:06
  • i want to use this cod in other age – ebrahim Oct 26 '14 at 17:26

0 Answers0