title: scraping javascript:void(0) content using python
body: <p>I am making a program, in which I am scrapping a web page and the content is hidden from the original page and use to display itself using 
  <code>herf = javascript:void(0)</code>
   link and the text is in <code>&lt;p&gt;</code> and then <code>&lt;span&gt;</code> tags. </p>
  
  <p>Here is my code:</p>
  
  <pre><code>import requests, re
  from bs4 import BeautifulSoup
  
  page = requests.get('https://www.naukri.com/job-listings-Python-Developer- 
  Cloud-Analogy-Softech-Pvt-Ltd-Noida-Sector-63-Noida-1-to-2-years- 
  250718003152?src=rcntSrchWithoutCount&amp;sid=15327965116011&amp;xp=1&amp;px=1&amp;qp=python%20developer&amp;srcP%
  20ge=s').text
  soup = BeautifulSoup(page, 'html.parser')
  link = soup.find('div', {'class':'jDisc 
  viewContact'}).find_all(re.compile('p|em|span'))
  results = [i.text for i in link]
  print(results)
  </code></pre>
  
  <p>and the HTML page is here:</p>
  
  <pre><code>&lt;a href="javascript:void(0)" class="mt30 dspB f14 lH20"
  id="viewCont_trg"&gt;View Contact Details&lt;/a&gt;
  </code></pre>
  
  <p>After clicking on the link <strong>"view contact detail"</strong> it will show all the hidden content. Can you please help me to solve this?</p>