troubleshooting Question

JQuery on multiple lines

Avatar of Bob Schneider
Bob SchneiderFlag for United States of America asked on
ASPSoftwarejQuery
3 Comments2 Solutions188 ViewsLast Modified:
I am new to jQuery and I want to know if I can write this line on multiple lines in my editor software (WebMatrix):
            $('.bluebox').html('<h4 class="h4 bg-success"><img src="' + runnerLogo + '" width="75">My Results - ' + runnerEvent + '</h4><h5>'+ runnerDate + '<br>' + runnerRace + '</h5><h4>' + runnerName + ' (Bib: ' + runnerBib + ')</h4>Gender: ' + runnerGender + '<br>Age: ' + runnerAge + '<br>Age Group: ' + runnerAgeGroup + '<br>Location: ' + runnerLocation + '<br><br>Time Data<br>Chip Time: ' + runnerChip + '<br>Gun Time: ' + runnerGun + '<br>Start Delay: ' + runnerStart + '<br><br>Place Data<br>Overall Place: ' + runnerPlace + '<br>Gender Place: ' + runnerGenderPlace + '<br>Age Group Place: ' + runnerAgeGrpPlace + '<br>Age Graded Place: ' + runnerAgeGradedPlace)

Part Two of my question:  I work in classic asp and I want to add additional values if a person meets certain criteria.  For instance, if this is a multi-sport event I want to be able to include the times of each portion as well as their transition times.  I have the data...I just don't know how to modify this if, and only if, it is relevant to the results display.

Thank you.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros