摘要:
-(void)viewDidLayoutSubviews {if ([self.mytableview respondsToSelector:@selector(setSeparatorInset:)]) {[self.mytableview setSeparatorInset:UIEdgeInse... 阅读全文
摘要:
-(void)checkboxClick:(UIButton *)btn{btn.selected = !btn.selected;}- (void)viewDidLoad {UIButton *checkbox = [UIButton buttonWithType:UIButtonTypeCust... 阅读全文
摘要:
比如1、设置value为pxx的项选中$(".selector").val("pxx");2、设置text为pxx的项选中$(".selector").find("option[text='pxx']").attr("selected",true);这里有一个中括号的用法,中括号里的等号的前面是属性... 阅读全文