Forum: JavaScript / DHTML / AJAX Jan 21st, 2008 |
| Replies: 22 Views: 10,344 Problem solved.
Instead of using a JSON string I used a DataTable.
Appearantly AjaxPro supports using .NET objects as arguments and converts them into appropriate javascript objects.
Thank you... |
Forum: JavaScript / DHTML / AJAX Jan 18th, 2008 |
| Replies: 22 Views: 10,344 Perhaps that is the case.
But on the other hand. The fact that this forum also is about Ajax may be of relevance since that, for me, includes both client-side and server-side coding. |
Forum: JavaScript / DHTML / AJAX Jan 17th, 2008 |
| Replies: 22 Views: 10,344 I tried LitJSON only to find out that it's probably compiled using .NET 2.0. I'm working in 1.1.
In my latest attempt I used Jayrock.
And i've also been ripping my hair out trying to get the method... |
Forum: JavaScript / DHTML / AJAX Jan 15th, 2008 |
| Replies: 22 Views: 10,344 Ok. So it works. I now get a correct json string.
Now I'll have to figure out how to Deserialize(?) it in server code-behind into a a use-able .NET object/class/structure.
Any suggestions? |
Forum: JavaScript / DHTML / AJAX Jan 15th, 2008 |
| Replies: 22 Views: 10,344 Sorry about that. Won't happen again.
I'll try your solution by adding the name element.
But I was just thinking. If that's the reason why it won't work, then why does the code capture and hold... |
Forum: JavaScript / DHTML / AJAX Jan 14th, 2008 |
| Replies: 22 Views: 10,344 |
Forum: JavaScript / DHTML / AJAX Jan 7th, 2008 |
| Replies: 22 Views: 10,344 Ok. Now I'm back from the holidays and could check my code. I found that I missed a quote-mark. Now there are no errors, but there still seem to be something odd happening.
In the screenshot, in... |
Forum: JavaScript / DHTML / AJAX Dec 18th, 2007 |
| Replies: 22 Views: 10,344 I'm sorry. I haven't had the chance to try anything today.
But as soon as I do, I'll post my findings. |
Forum: JavaScript / DHTML / AJAX Dec 18th, 2007 |
| Replies: 22 Views: 10,344 Yes, actually I did. But I'll have to look it over again.
The weird part is that when I debug using Firebug you can choose what js-script to debug and step through and I can clearly see the file... |
Forum: JavaScript / DHTML / AJAX Dec 17th, 2007 |
| Replies: 22 Views: 10,344 Ok. So i managed to use the code snippet you gave me which resulted in a javascript object. It gave me a happy.
This is what i came up with:
function somename() {
var o =... |
Forum: JavaScript / DHTML / AJAX Dec 14th, 2007 |
| Replies: 22 Views: 10,344 Everything about JSON looks interesting and workable.
But I'm new to JSON and used to passing information between functions using arguments. So, I'm gonna need a little hand-holding and guidance... |
Forum: JavaScript / DHTML / AJAX Dec 13th, 2007 |
| Replies: 22 Views: 10,344 JSON look promising. I like the fact that it can contain an array.
But how to create a dynamic JSON object containing multiples.
My guess would be that the object needs to have the form:
var... |
Forum: JavaScript / DHTML / AJAX Dec 13th, 2007 |
| Replies: 22 Views: 10,344 I'll look into it. Thanks. |
Forum: JavaScript / DHTML / AJAX Dec 12th, 2007 |
| Replies: 10 Views: 5,502 If the database was to be openly accessible *shudder*, albeit with a username and password.
Then you can most likely access the database with javascript and odbc (jdbc?).
If that is the case then... |
Forum: JavaScript / DHTML / AJAX Dec 12th, 2007 |
| Replies: 22 Views: 10,344 Hi, all!
Here's another one that's starting to boggle my mind.
I have a form that, with a button, adds a bunch of text-fields in a tablerow.
For every press of the button another row is added.... |
Forum: JavaScript / DHTML / AJAX Dec 12th, 2007 |
| Replies: 6 Views: 2,903 Well. FireFox showed a few errors, like "error in string" (or something like that).
But when I added a check for browser type to solve the DOM differences between IE and FF, the errors vanished.
... |
Forum: JavaScript / DHTML / AJAX Dec 11th, 2007 |
| Replies: 6 Views: 2,903 Actually, I don't. I'm using IE6.
And it's not the security popup.
What I get is the yellow triangle with a black exclamationpoint, in the statusbar of the browser, stating that this-or-that is... |
Forum: JavaScript / DHTML / AJAX Dec 10th, 2007 |
| Replies: 6 Views: 2,903 Hi!
I don't know if this has been answered already and a search gave to many results.
I have a website that is built with ASP.NET and that uses some javascript.
When I run a debug on localhost... |