[WebDNA] An issue with Ajax or maybe my WebDNA code... voting system, sample

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 114246
interpreted = N
texte = 1850 --Apple-Mail=_274DA1E0-D595-411C-97F2-AFAF77CCF376 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii H all I have started an additional development to my forum system = (macnyt.dk/forum ) where you can Like = (plus/minus) posts within a thread. For this I have taken the AJAX = Module (and slimmed net down to y needs) code provided by Terry Wilson = (posted on webdna.us ) as I would like for any = plus/minus vote to appear instantly on the very same page where the = voters evaluates a forum post - hense the Ajax approach. http://webdna.us/page.dna?numero=3D314 = So I have build a sample code which actually works 95% but I have = encountered a problem which I can not fix nor can I understand where the = issue is located. My challenge is that Would like to have the accumulated posts printet = within the area. The current code prints in one place regardless of this = area the code comes from. In other words. If I press YES in Area 1 then = I would like to have the accumulated YES votes printed just below the = relevant area 1 and not in any other area. The the place to print is = called [hotspot] and is located in the index.dna file. I have provide the source code of my development with courtesy of Terry = code on the following link. If you are interested in helping out then = download the .zip file and place it in your root folder - it should work = out of the box. http://www.macnyt.dk/evaluate.zip If I have not made my problem clear enough, do not hesitate to ask = within this thread. /Palle= --Apple-Mail=_274DA1E0-D595-411C-97F2-AFAF77CCF376 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
H all

I have started an additional development to my forum system = (macnyt.dk/forum) = where you can Like (plus/minus) posts within a thread. For this I have = taken the AJAX Module (and slimmed net down to y needs) code provided by = Terry Wilson (posted on webdna.us) as I would like for any plus/minus vote to = appear instantly on the very same page where the voters evaluates a = forum post  - hense the Ajax approach.


So I have build a sample = code which actually works 95% but I have encountered a problem which I = can not fix nor can I understand where the issue is located.

My challenge is that = Would like to have the accumulated posts printet within the area. The = current code prints in one place regardless of this area the code comes = from. In other words. If I press YES in Area 1 then I would like to have = the accumulated YES votes printed just below the relevant area 1 and not = in any other area. The the place to print is called [hotspot] and is = located in the index.dna file.

I have provide the source code of my = development with courtesy of Terry code on the following link. If you = are interested in helping out then download the .zip file and place it = in your root folder - it should work out of the box.


If I have not made my problem clear = enough, do not hesitate to ask within this thread.

/Palle
= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_274DA1E0-D595-411C-97F2-AFAF77CCF376-- . Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] An issue with Ajax or maybe my WebDNA code... voting system, sample (Palle Bo Nielsen 2018)
  2. [WebDNA] An issue with Ajax or maybe my WebDNA code... voting system, sample (Palle Bo Nielsen 2018)
1850 --Apple-Mail=_274DA1E0-D595-411C-97F2-AFAF77CCF376 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii H all I have started an additional development to my forum system = (macnyt.dk/forum ) where you can Like = (plus/minus) posts within a thread. For this I have taken the AJAX = Module (and slimmed net down to y needs) code provided by Terry Wilson = (posted on webdna.us ) as I would like for any = plus/minus vote to appear instantly on the very same page where the = voters evaluates a forum post - hense the Ajax approach. http://webdna.us/page.dna?numero=3D314 = So I have build a sample code which actually works 95% but I have = encountered a problem which I can not fix nor can I understand where the = issue is located. My challenge is that Would like to have the accumulated posts printet = within the area. The current code prints in one place regardless of this = area the code comes from. In other words. If I press YES in Area 1 then = I would like to have the accumulated YES votes printed just below the = relevant area 1 and not in any other area. The the place to print is = called [hotspot] and is located in the index.dna file. I have provide the source code of my development with courtesy of Terry = code on the following link. If you are interested in helping out then = download the .zip file and place it in your root folder - it should work = out of the box. http://www.macnyt.dk/evaluate.zip If I have not made my problem clear enough, do not hesitate to ask = within this thread. /Palle= --Apple-Mail=_274DA1E0-D595-411C-97F2-AFAF77CCF376 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
H all

I have started an additional development to my forum system = (macnyt.dk/forum) = where you can Like (plus/minus) posts within a thread. For this I have = taken the AJAX Module (and slimmed net down to y needs) code provided by = Terry Wilson (posted on webdna.us) as I would like for any plus/minus vote to = appear instantly on the very same page where the voters evaluates a = forum post  - hense the Ajax approach.


So I have build a sample = code which actually works 95% but I have encountered a problem which I = can not fix nor can I understand where the issue is located.

My challenge is that = Would like to have the accumulated posts printet within the area. The = current code prints in one place regardless of this area the code comes = from. In other words. If I press YES in Area 1 then I would like to have = the accumulated YES votes printed just below the relevant area 1 and not = in any other area. The the place to print is called [hotspot] and is = located in the index.dna file.

I have provide the source code of my = development with courtesy of Terry code on the following link. If you = are interested in helping out then download the .zip file and place it = in your root folder - it should work out of the box.


If I have not made my problem clear = enough, do not hesitate to ask within this thread.

/Palle
= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_274DA1E0-D595-411C-97F2-AFAF77CCF376-- . Palle Bo Nielsen

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WriteFile and returns... (2000) Missing Cart Information (2003) Searchable WebCat (etc.) Docs ? (1997) [WebDNA] WebDNA databases not showing? (2013) Orders coming up blank (2004) My first ship table (1998) showif comparison begins w/ and contains (1997) Signal Raised Error (1997) hidden databases (2000) Updating a database once per day - An example (1998) Search returns all, not 20 (1997) Date Formats (1997) emailer error -108 (1997) Document Contains No Data! (1997) Comments in db? (1997) OT: Several requests (2003) Listfields and foundItems (2002) hidden databases (2000) [WriteFile] problems (1997) [TaxableTotal] - not working with AOL and IE (1997)