Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9203761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:32:40+00:00 2026-06-17T23:32:40+00:00

Warning received in VS2012: Validation (HTML5): If this attribute value is enclosed in quotation

  • 0

Warning received in VS2012:

Validation (HTML5): If this attribute value is enclosed in quotation marks, the quotation marks must match.

When splitting data-bind parameter values onto more than one line, seems to be only when one of them contains a certain condition e.g. http://jsfiddle.net/rniemeyer/gZC5k/ – splitting line 37 onto two lines…

from: <button data-bind='click: save, enable: contacts().length > 0'>Save to JSON</button>

to:
<button data-bind='click: save,

enable: contacts().length > 0'>Save to JSON</button>

Any idea why this is triggered?

If I switch to HTML4 validation I get a warning about data-bind, same as here: Knockout.js data-bind attribute causes html validation warning

I either have some really long lines of HTML or this warning. Anything else I can do to work around this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T23:32:41+00:00Added an answer on June 17, 2026 at 11:32 pm

    What about if you put the whole attribute on one line?

    <button
        data-bind='click: save, enable: contacts().length > 0'>
        Save to JSON
    </button>
    

    That’s a bit of an improvement, though not much!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is driving me crazy!!! I'm getting a Received memory warning. Level=1 whenever I
I received this warning after adding the flurry api: ld: warning: duplicate dylib /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/lib/system/libSystem.host.dylib
I received this warning after adding the flurry api: ld: warning: duplicate dylib /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/lib/system/libSystem.host.dylib
Program received signal: 0. warning: check_safe_call: could not restore current frame What is this
In my project I am receiving this error Received Memory Warning [level 1] I
I received two memory warnings. It doesn't show warning level. It shows brief phrase:
Warning: Note that this is a dumb question of something that I would probably
Warning: This is inherited legacy code that was initially put together in the early
The following error i have received is Warning: array_key_exists() expects parameter 2 to be
I am getting Received memory warning. Level = 1 when I use UIImagePickerControllerSourceTypeCamera .

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.