I'm trying to capture the value 179
in a variable
<span class="robux " data-se="item-privatesale-price">179</span>
How can I do this using JQuery in the console?
使用jQuery的类选择器
$(".robux").text()
var text = $('.robux').text()
那应该工作
You should learn how to search API of jquery. Here is a link about a method of text();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.