On Wed, Mar 23, 2016 at 11:02:44AM +0000, Mark Rogers wrote:
On 22 March 2016 at 23:36, Chris Green cl@isbd.net wrote:
$("#pagesize").val(pageSize).change(function() { editableGrid.setPageSize($("#pagesize").val());
});
In the demo it works perfectly, in my copy it doesn't work at all. One can select a value but nothing changes.
Without seeing your full code it's difficult to diagnose but I will just check: the above code looks like it it jQuery based so I assume you have jquery included somewhere?
Yes, it's jquery and it is loading jquery (other bits that use jquery work OK).
As to why you're seeing no errors in the Firefox console I don't know but again without seeing the full code it's hard to investigate. If you have access to a web server somewhere I'd suggest uploading it and supplying the link. I would also suggest trying a different browser, sometimes their consoles give varying degrees of help!
I'm using the apache server on the same machine, not available outside.
As you might see I discovered the basic problem, a call before the bits that weren't working was never returning so they never got executed.
I've yet to investigate why the function wasn't returning, it all seems to work so it must be doing most of what it's supposed to do.
I'll shout again if I get stuck again, I find Ajax/Javascript very obscure at times. If I get seriously stuck I can put the code onto my virtual server at Gandi so others can see it.