0 votes
14 views
What is the function of escape  in backbone.js?
in Technology by (193k points)

1 Answer

0 votes

It gets the current value of an attribute from the model but returns the HTML-escaped version of a model’s attribute.  It is helpful in preventing XSS attacks, if you are interpolating data from the model into HTML

by (193k points)

Related questions

0 votes
1 answer 12 views
0 votes
1 answer 10 views
0 votes
1 answer 20 views
20 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 12 views
0 votes
1 answer 11 views
11 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 10 views
10 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 10 views
10 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 10 views
10 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 10 views
10 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 8 views
8 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 12 views
12 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 12 views
0 votes
1 answer 11 views
11 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 11 views
0 votes
1 answer 16 views
16 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 11 views
11 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 11 views
11 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 13 views
13 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 17 views
0 votes
1 answer 13 views
0 votes
1 answer 10 views
0 votes
1 answer 11 views
11 views asked Nov 13, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 10 views
10 views asked Nov 14, 2020 in Technology by JackTerrance (193k points)
0 votes
1 answer 13 views
13 views asked Nov 14, 2020 in Technology by JackTerrance (193k points)
...