[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:

Error:Too many nested [xxx] contexts (1997) Database (2002) Need relative path explanation (1997) PC site chck pls (2003) [shownext max=?] armed (1997) nslookup (2000) [delete] problem (1997) Mult-File Upload w/ Web Star (2000) Preventing Merchant Settling ? (1997) 2.1b2 was SLOW ... but 2.1b3 is FAST! (1997) Replacing a Word (1999) WebCat on Intel Core 2 macs anyone? (2007) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) The USArea® Network web site ... (1997) Bug Report, maybe (1997) Pager notification of completed orders (1998) Help! WebCat2 bug (1997) RE: Ongoing group search problems ... (1997) Zip Codes (2003) [WebDNA] [BULK] which of these tags exist in 7.0 (2011)