7 lines
170 B
PHP
7 lines
170 B
PHP
<script type="text/javascript">
|
|
$.fn.extend({
|
|
toggleText: function(a, b){
|
|
return this.text(this.text() == b ? a : b);
|
|
}
|
|
});
|
|
</script>
|