1
<script>
var tmp
$.get("http://intranet/Lists/Software/Kennisgebied.aspx?FilterField1=Directorie&FilterValue1=P:\airpex", 
    function(response) { 
        alert(response);
        tmp = $(response).filter("ms-vb2").html();
        alert(tmp[1]);
    }
);
</script>

Hello I am trying to learn jquery, but i'm stuck.

What I want to do is get an array of the class "ms-vb2" out of response.

I want to get the text "1.0" in the TD tag.

 <td class="ms-vb2">1.0</td>

Tnx for your help and time

0

1 Answer 1

1

I need your html response content to be sure, but it will looks something like:

var arr = $(response).find('.ms-vb2').map(function() {
    return $(this).text();
}).get();
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.