Quantcast
Channel: Pragmatic Forums | Posts in topic 'Replace dashes with other text'
Browsing latest articles
Browse All 15 View Live

Replace dashes with other text posted by Mike E. @ Mon, 31 Mar 2008 12:07:47...

I’m trying to replace a dashed line with an answer after a “click here” prompt. Here’s an example:1) Find the principal parts of the verb “drive” by filling in the blanks below. Click here to check...

View Article



Replace dashes with other text posted by Christophe Porteneuve @ Mon, 31 Mar...

I’d go gsub with a replacement function and a lexical closure to iterate over an array of answers from one replacement to the next.Say your underscore-bearing HTML is in a id="questionsContainer" DOM...

View Article

Replace dashes with other text posted by Mike E. @ Thu, 01 May 2008 01:49:39...

Hello Christophe,I realize it’s been a while since I posted this message. I’ve been unavoidably busy and I’m just getting back to this project this week.I tried to implement your suggestion but I...

View Article

Replace dashes with other text posted by Christophe Porteneuve @ Thu, 01 May...

Hey Mike,I put a minimalistic demo page for it up at http://tddsworld.com/questions/Let me know if that makes it.

View Article

Replace dashes with other text posted by Mike E. @ Fri, 02 May 2008 15:08:47...

Thank you so much for the demo. That is just what I need to get me started.I really appreciate your help.Excellent!Mike

View Article

Browsing latest articles
Browse All 15 View Live




Latest Images