Click here to Skip to main content
15,895,667 members
Home / Discussions / Web Development
   

Web Development

 
QuestionThwarting CTRL-A Copies Pin
C-P-User-316-Feb-16 7:10
C-P-User-316-Feb-16 7:10 
AnswerRe: Thwarting CTRL-A Copies Pin
Richard Deeming16-Feb-16 7:53
mveRichard Deeming16-Feb-16 7:53 
The page appears to be using SlickGrid[^], which is virtualizing the UI, so only a small number of rows actually exist in the DOM at any one time.

The data is available via script, so it's fairly easy to extract. Open the browser's developer tools, and paste in the following commands:
JavaScript
var table = $("<table/>");
table.append($("<thead/>").append($("<tr/>").append($("<th/>").html("Booth")).append($("<th/>").html("Name"))));
var tbody = table.append("<tbody/>");
$.each(expocadfx.fxData.exhibitors, function(i,v){ tbody.append($("<tr/>").append($("<th/>").text(v.boothNumber)).append($("<td/>").text(v.name))); });
$("body").empty().append(table);

That will replace the entire page content with a single table containing the list you want to copy.

If you need more data, each record has some other properties you can use:
  • id
  • status
  • name
  • nameOther
  • exhId
  • boothNumber
  • boothIndex
  • address1
  • address2
  • city
  • state
  • zip
  • country
  • contact
  • phone
  • fax
  • email
  • website
  • profile
  • category
  • url




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Thwarting CTRL-A Copies Pin
C-P-User-316-Feb-16 7:57
C-P-User-316-Feb-16 7:57 
GeneralRe: Thwarting CTRL-A Copies Pin
Richard Deeming16-Feb-16 8:02
mveRichard Deeming16-Feb-16 8:02 
GeneralRe: Thwarting CTRL-A Copies Pin
C-P-User-316-Feb-16 8:03
C-P-User-316-Feb-16 8:03 
GeneralRe: Thwarting CTRL-A Copies Pin
Richard Deeming16-Feb-16 8:05
mveRichard Deeming16-Feb-16 8:05 
GeneralRe: Thwarting CTRL-A Copies Pin
C-P-User-316-Feb-16 8:09
C-P-User-316-Feb-16 8:09 
GeneralRe: Thwarting CTRL-A Copies Pin
C-P-User-316-Feb-16 8:13
C-P-User-316-Feb-16 8:13 
GeneralRe: Thwarting CTRL-A Copies Pin
C-P-User-316-Feb-16 9:56
C-P-User-316-Feb-16 9:56 
QuestionTo Everyone Pin
mharie14-Feb-16 2:17
mharie14-Feb-16 2:17 
AnswerRe: To Everyone Pin
Richard MacCutchan14-Feb-16 2:38
mveRichard MacCutchan14-Feb-16 2:38 
QuestionHow to call webservice using WSDl file ? Pin
HarshadDarji1913-Feb-16 23:58
HarshadDarji1913-Feb-16 23:58 
QuestionClassic asp Soap response with xml and attachment Pin
uglyeyes11-Feb-16 0:50
uglyeyes11-Feb-16 0:50 
AnswerRe: Classic asp Soap response with xml and attachment Pin
uglyeyes11-Feb-16 17:22
uglyeyes11-Feb-16 17:22 
GeneralRe: Classic asp Soap response with xml and attachment Pin
uglyeyes14-Feb-16 11:30
uglyeyes14-Feb-16 11:30 
QuestionERROR: Password not accepted from server Pin
Jassim Rahma10-Feb-16 22:53
Jassim Rahma10-Feb-16 22:53 
SuggestionRe: ERROR: Password not accepted from server Pin
Richard Deeming11-Feb-16 0:49
mveRichard Deeming11-Feb-16 0:49 
AnswerRe: ERROR: Password not accepted from server Pin
Richard MacCutchan11-Feb-16 1:41
mveRichard MacCutchan11-Feb-16 1:41 
QuestionMessage Removed Pin
3-Feb-16 19:24
Member 123065763-Feb-16 19:24 
Questiondisplay the time according the clien time zone asp.net Pin
Anil Sharma19831-Feb-16 20:19
professionalAnil Sharma19831-Feb-16 20:19 
AnswerRe: display the time according the clien time zone asp.net Pin
Richard MacCutchan1-Feb-16 21:54
mveRichard MacCutchan1-Feb-16 21:54 
AnswerRe: display the time according the clien time zone asp.net Pin
Eddy Vluggen2-Feb-16 12:19
professionalEddy Vluggen2-Feb-16 12:19 
Questionweb development Pin
Member 1229196627-Jan-16 18:23
Member 1229196627-Jan-16 18:23 
AnswerRe: web development Pin
Eddy Vluggen2-Feb-16 12:17
professionalEddy Vluggen2-Feb-16 12:17 
AnswerRe: web development Pin
Tomas Linkinsen7-Feb-16 12:36
Tomas Linkinsen7-Feb-16 12:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.