Start New Discussion within our Web Development Community

i need help about visual basic website click buttons without id.

Html Code:

<div class="likeBox">
    <span class="like-active" style="display:none;"></span>
    <div class=" ghostLink">

        <a class="like hintable" hint="Like" href="javascript:void(0)" onclick="if (!Profile.likesBlocked()) { Profile.quickLike('#like_box_53117043234'); $.ajax({data:'authenticity_token=' + encodeURIComponent('6S2x01Deqy77H5OYvhxaDVyncWWcQavyOsTuw7J52/M='), dataType:'script', type:'post', url:'/likes/qwert1312/question/53117043234/add'}); }; return false;"></a>

    </div>
  </div>

    <div class="likeList you-like-block" style="display:none">You like this</div>


<div class="likeList people-like-block"></div>

VB Code:

WebBrowser1.GetElementById("?").InvokeMember("click") 

==> error. Please Help Me! :)

i need help about visual basic website click buttons without id.

I'm not familiar with VB but The code you provided is more related javascript than ASP.net.

This article has been dead for over six months. Start a new discussion instead.