Calculating text width

后端 未结 22 1612
轻奢々
轻奢々 2020-11-22 03:36

I\'m trying to calculate text width using jQuery. I\'m not sure what, but I am definitely doing something wrong.

So, here is the code:

var c = $(\'.c         


        
22条回答
  •  野性不改
    2020-11-22 04:04

    i think you should use $('.calltoaction').val;

    also, i would be using id (#) instead of a class for that.. if u have more than one of such classes which how would it handle it?

提交回复
热议问题