- //也可以用类 $(".sui").bind('click', function(event)
- $("em").bind('click',
- function(event) {
- build
- = $(
- this);
- var
- phone = $(
- this
- ).attr("value"
- );
- $.ajax({
- url:
- ""+
- phone,
- type:
- 'Get'
- ,
- dataType:
- ''
- ,
- success:function(result){
- build.html(
- ""+result+""
- );
- }
- });
- });
来源: http://www.bubuko.com/infodetail-2146949.html