I guess you should s"$$('#technicalDetails').toggle();" and drop the action