Re: [web2py] Re: How to make this code work ...

2019-06-06 Thread Dave S
On Thursday, June 6, 2019 at 5:03:54 AM UTC-7, Ben Duncan wrote: > > Ok, moving it to static makes it work fine. It was in view/default > Any IDEAS on what / why this works this way ? > > Thanks ... > > *Ben Duncan* > DBA / Chief Software Architect > Mississippi State Supreme Court > Electron

Re: [web2py] Re: How to make this code work ...

2019-06-06 Thread Ben Duncan
Ok, moving it to static makes it work fine. It was in view/default Any IDEAS on what / why this works this way ? Thanks ... *Ben Duncan* DBA / Chief Software Architect Mississippi State Supreme Court Electronic Filing Division On Wed, Jun 5, 2019 at 9:51 PM Dave S wrote: > > > On Wednesday, J

Re: [web2py] Re: How to make this code work ...

2019-06-05 Thread Dave S
On Wednesday, June 5, 2019 at 12:47:51 PM UTC-7, Dave S wrote: > > > > On Wednesday, June 5, 2019 at 3:30:46 AM UTC-7, Val K wrote: >> >> Yes, file:// is even another protocol, so using http transport in this >> case is out of all standards. But it should work fine with regular web2py >> app (o

Re: [web2py] Re: How to make this code work ...

2019-06-05 Thread Dave S
On Wednesday, June 5, 2019 at 3:30:46 AM UTC-7, Val K wrote: > > Yes, file:// is even another protocol, so using http transport in this > case is out of all standards. But it should work fine with regular web2py > app (over http) Since I found a way to successfully demonstrate the javascript

Re: [web2py] Re: How to make this code work ...

2019-06-05 Thread Dave S
On Wednesday, June 5, 2019 at 5:54:23 AM UTC-7, Ben Duncan wrote: > > Put some console logs in to see strange ... > > This site makes use of a SHA-1 Certificate; it’s recommended you use > certificates with signature algorithms that use hash functions stronger > than SHA-1. > loadajax

Re: [web2py] Re: How to make this code work ...

2019-06-05 Thread Ben Duncan
Put some console logs in to see strange ... This site makes use of a SHA-1 Certificate; it’s recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1. loadajax In function loaddoc loadajax:14:11

Re: [web2py] Re: How to make this code work ...

2019-06-05 Thread Val K
Yes, file:// is even another protocol, so using http transport in this case is out of all standards. But it should work fine with regular web2py app (over http) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://c

Re: [web2py] Re: How to make this code work ...

2019-06-05 Thread Dave S
On Tuesday, June 4, 2019 at 10:11:43 PM UTC-7, Val K wrote: > > Try xhttp.withCredentials = true I did. The tricky part is that using a file on the browser's host, the first request is OPTIONS. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://githu

Re: [web2py] Re: How to make this code work ...

2019-06-04 Thread Val K
Try xhttp.withCredentials = true -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

Re: [web2py] Re: How to make this code work ...

2019-06-04 Thread Dave S
$ On Tuesday, June 4, 2019 at 6:00:44 PM UTC-7, Dave S wrote: > > > > On Tuesday, June 4, 2019 at 3:16:12 PM UTC-7, Ben Duncan wrote: >> >> I've been trying to run it ... When you click on the button it does >> nothing >> >> *Ben Duncan* >> DBA / Chief Software Architect >> Mississippi State Sup

Re: [web2py] Re: How to make this code work ...

2019-06-04 Thread Dave S
On Tuesday, June 4, 2019 at 3:16:12 PM UTC-7, Ben Duncan wrote: > > I've been trying to run it ... When you click on the button it does nothing > > *Ben Duncan* > DBA / Chief Software Architect > Mississippi State Supreme Court > Electronic Filing Division > > > When I replace the "ajax-info.tx

Re: [web2py] Re: How to make this code work ...

2019-06-04 Thread Ben Duncan
I've been trying to run it ... When you click on the button it does nothing *Ben Duncan* DBA / Chief Software Architect Mississippi State Supreme Court Electronic Filing Division On Tue, Jun 4, 2019 at 4:35 PM Anthony wrote: > What are you trying to do? That code should work fine in web2py, as

[web2py] Re: How to make this code work ...

2019-06-04 Thread Anthony
What are you trying to do? That code should work fine in web2py, as it's just Javascript. You just need to have it call a web2py URL. Of course, web2py includes some built-in mechanisms for handling Ajax requests, such as the ajax() Javascript function and the LOAD() helper to create Ajax compo