On the webpage .onkeypress
event handler function assigned to the textbox sends HTTP request and receives a response each time you press a key. Then it shows suggested items in drop down list. You don't need to figure out how does the handler function work. Just open URL from your question e. g. in Chrome, press F12 to open Developer Tools window, go to Network tab where all page XHRs listed, type some text into search box and you will see that new requests will be displayed. Click one of them, in Headers tab you can find Request URL:

You can reproduce such XHR as textbox onkeypress event handler does, and parse Scrip Name(s) from response, here is example VBA code:
Option Explicit
Sub SmartGetQuoteData()
Dim sScripID As String
Dim sResp As String
Dim sAllItems As String
Dim sFirstCode As String
Dim oXHR As Object
Dim oDoc As Object
Dim oBody As Object
' set your code here
sScripID = "500222"
' make XHR
Set oXHR = CreateObject("Microsoft.XMLHttp")
oXHR.Open "GET", "http://www.bseindia.com/SiteCache/90D/SmartGetQuoteData.aspx?Type=EQ&text=" & sScripID, False
oXHR.Send
sResp = oXHR.ResponseText
' convert HTML to plain text
Set oDoc = CreateObject("htmlfile")
oDoc.Write sResp
Set oBody = oDoc.GetElementsByTagName("body")(0)
sAllItems = oBody.InnerText
' split response and get 1st part
sFirstCode = Split(sAllItems, "|")(0)
' result output
MsgBox sAllItems ' JCT ELECTRONICS LTD|JCTEL|500222
MsgBox sFirstCode ' JCT ELECTRONICS LTD
End Sub