jquery - Remove repeating text -


I have a SharePoint page, which is full of text string of 12:00 AM Do not want to display; The underlying code is the form:

  & lt; Td class = "ms-cal-workitem" & gt; & Lt; Table border = "0" cell spacing = "0" cellpadding = "0" & ​​gt; & Lt; Tbody & gt; & Lt; TR & gt; & Lt; Td class = "MS-cal-month" & gt; & Lt; A tabIndex = "5" onclick = "Goto Link (This); Return Back;" Or & lt; Nobr & gt; & Lt; B & gt; ** 12:00 AM ** & lt; Br / & gt; More text    

Can you remove the HTML with the time ticket now? Something like this:

  var newmarkup = $ ('MS-Cal-Kamitum'). Html () Replace ('12: 00am', '') $ ('.ms -cal-workitem') HTML (newMarkup).    

Comments