Side navigation
#8602 closed bug (invalid)
Opened March 23, 2011 04:07AM UTC
Closed March 30, 2011 01:51PM UTC
suggestion for clone property
Reported by: | arunjayaraj | Owned by: | arunjayaraj |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | 1.5.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
I don't know is it a bug . Now I send it as suggestion. I found this in 1.4.2 version. By using clone property we can clone the content of a <div> and we can append these to another <div>.After we getting the data from the code behind we got the data as comma(,) separated for repeated controls ,but in the case of text area or text box there is a chance for data with comma(,) in such cases that generates problem.Is there any solution for this
Attachments (0)
Change History (4)
Changed March 23, 2011 04:59AM UTC by comment:1
owner: | → arunjayaraj |
---|---|
status: | new → pending |
Changed March 23, 2011 10:10PM UTC by comment:2
I think what he means is the same issue when you're parsing
a .csv (comma seperated value) file.
The .csv file contains:
data1, data2, data3, ...
But if the .csv file contains:
da,ta, data2, dat,3, ...
It will break the parsing of the .csv file, because of the extra , in
the data-strings.
This can be prevented by entering the data as:
"da,ta", "data2,"dat,3", ...
By surround the actual data-strings in quotes, parsing will always succeed.
Changed March 23, 2011 10:11PM UTC by comment:3
"da,ta", "data2,"dat,3", ... should of course be:
"da,ta", "data2" ,"dat,3", ...
Changed March 30, 2011 01:51PM UTC by comment:4
resolution: | → invalid |
---|---|
status: | pending → closed |
Thanks for submitting a ticket to the jQuery Bug Tracker. As mentioned by Yomodo, the easiest workaround for this issue is just ensuring that your CSV files being have been correctly formatted for your needs prior to usage to avoid issues. I can't see anything jQuery-core specific here that we should be doing to make this process easier, but the solution above should assist.
It's relatively unclear what you're asking about here, can you try explaining in more detail or providing a code sample? Thanks.