Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Weird Replace Problem

Author  Topic 

ConradK
Posting Yak Master

140 Posts

Posted - 2011-07-20 : 14:15:44
When I try to replace or find where like this string

$(function() { $('#main').find('.desc').hide().end().find('.heading').click(function() { $(this).next().slideToggle(); }); });

I get a fat load of nothing. The funny thing is, if I replace or find where like '%$(function() {%' I get results, but like '%$(function() { %' I get nothing.... I thought it might be escape characters or something, but a space is what breaks it? Does not compute.

robvolk
Most Valuable Yak

15732 Posts

Posted - 2011-07-20 : 14:18:51
Not sure how we can help, SQLTeam is a Microsoft SQL Server website, and the code you posted does not work on SQL Server.
Go to Top of Page
   

- Advertisement -