If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > JAVA > Jquery

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-26-11, 17:28
indigocntrd indigocntrd is offline
Registered User
 
Join Date: Jul 2011
Posts: 3
Jquery

I didn't write this but i think i narrowed this down to where i need to do this update. OK here is the problem there is a name field that if it has a ' in the name or any other special char the window.open doesn't work. I think i just need to replace all the special char and do something with the ' in the name so it can be recognized but I'm just learning J Query and some help would be greatly appreciated. Thank you

here is the line i think that maybe can be improved or maybe i need a new line. If this isnt right i can post the whole file but its pretty big.

return jQuery.clean([html.replace(/ jQuery\d+="(?:\d+|null)"/g, "").replace(/^\s*/, "")])[0];
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On