Link to home
Start Free TrialLog in
Avatar of Marco Gasi
Marco GasiFlag for Spain

asked on

HTML Kickstart table sortable

Hi all.
I'm using HTML Kickstart table.sortable to make the columns of my table automatically sort. I putted in the page a hardcoded table to check if the sortable table work and it works fine, But I have a problem with a table created by a php script from a csv file and putted in the page by an ajax call. The table displays fine, the markup is the expected one, identical to the one I found in HTML Kickstart page: all <th> elements have a rel attribute with a progressive number starting from 0 and a value attribute filed with the column's name. The <tr> element has the classes "alt first last" and the table the classes "striped sortable".
All seems to work fine but when I click on a column name to sort it I get the error

TypeError: i is undefined
...ases?d(E.s):E.s;if(!n.forceStrings){var H=i.match(b),G=K.match(b);if(H&&G){var J...
---------------------------------------------------------^

in Firebug. Have you any idea? Unfortunately, I've found nothing about in the web...
Thanks to all in advance
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Marco Gasi

ASKER

Thank you, Gary. Lol: unfortunately I can't more connect to Github: I tried flushing DNS, change them and many other things but I can't get rid of it. I go everywhere in the web but the Github site!
Anyway, I'll try to reinitialize the plugin.
I'll let you know.
Fantastic! I never thought it! It's true I'm starting now to use ajax massively, but anyway, since there is no need to reinitialize jquery, I supposed this were true for all any javascript files included in the body: I was wrong. Thanks for having tought me another useful thing!
Oh, btw, can you suggest me the area where place a question about my difficultis connecting to Github? :-)
I would say on github lol
What happens when you try to connect
Lol.
The browser try to connect for a bit and then stops saying that the site is using too time to respond (my ffx speak italian and I don't know the exact message in english). But until some day ago I could connect without problems: unfortunately I can't thing anything I did in the last days to produce this issue...
I would just try clearing the cache or doing an hard refresh while it's loading.
In FF use HTTPFox to see if there is anything getting stuck loading.
I tried all cache related stuff this morning without success. The hard refresh gave no success too. I'll try HTTPFox too.
Thank you again.
Mmmhhh, after a deep analysis I ca say: boh...
This is the content of the content tab of HTTPFox:

Error loading content (NS_ERROR_DOCUMENT_NOT_CACHED)

These are the headers rows:

(Request-Line)      GET /joshuagatcke/HTML-KickStart/issues HTTP/1.1
Host      github.com
User-Agent      Mozilla/5.0 (Windows NT 6.3; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
Accept      text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language      it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding      gzip, deflate
Referer      https://www.experts-exchange.com/questions/28579617/HTML-Kickstart-table-sortable.html
Cookie      logged_in=no; __utma=1.1064773131.1400301472.1400301472.1400301472.1; _ga=GA1.2.1064773131.1400301472; _octo=GH1.1.1757162003.1403983798

After having deleted all github cookies, the result has been identical except the cookie values...
I really have no idea...
content tab of HTTPFox
It doesn't have a content tab, are you sure you are looking at the right pane, when you click start and load the page it should just show a list of all the resources loading e.g.

01:57:04.674	1.604	2271	(43)	GET	(Cache)	image/gif	http://stats.adobe.com/b/ss/adbadobenonacdcprod/1/JS-1.4-l/s49676497245877?AQB=1&ndh=1&pf=1&t=12%2F11%2F2014%2018%3A18%3A17%205%200&ce=UTF-8&cdp=2&fid=383A96ABE6C28CF2-34E7C1257D5FFE6A&fpCookieDomainPeriods=2&pageName=GlobalNav%3Av1.1.4%3AOnLoad&g=http%3A%2F%2Fhelpx.adobe.com%2Fflash-player.html&pe=lnk_o&pev2=GlobalNav%3Av1.1.4%3AOnLoad&ch=helpx.adobe.com&c3=helpx.adobe.com&c4=en_us&v14=NotSignedIn&v28=helpx.adobe.com%2Fflash-player.html&s=1440x900&c=24&j=1.8.5&v=N&k=Y&bw=1149&bh=210&AQE=1

Open in new window

Yes, and below there is a tabbed panel:
User generated image
Curious, is it the same in all browsers?
Looks like it isn't even resolving the domain name, who do you use for your DNS
vodafone.es but I set another DNS server to make another program to work. Now I'm going to  reset the DNS and then shutdown the pc so to be sure all cache is gone.
Thank you so mutch for your kind help :-) I really appreciate it!
Done: no changes... I have tried both Google DNS and those suggested by the site http://www.isitdownrightnow.com/how-to/setup-opendns-in-windows-7.html. I'll open a new question so if you can solve you can get points, but I don't know what area place the question in.
Does an nslookup work or pinging the IP 192.30.252.128
The ping return:


Pinging 192.30.252.128 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.30.252.128:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

...
Can you access it through another device connected to the same modem?
If not then its an ISP issue.
No I tried with a tablet and a smartphone through the same router, but with no success.
ISP issue: what you suggest, to contact vodafone?
Yep
Aaaalt! Once deleted ipv6 DNS gateway and set it to automatic, nslookup gives me this response

C:\Windows\System32>nslookup 192.30.252.128
Server:  google-public-dns-a.google.com
Address:  8.8.8.8
Name:    github.com
Address:  192.30.252.128

...whereas ping result remains the same
Does it work in the browser now?
No, only nslookup gives a positive feedback
Flush your dns
ipconfig /flushdns succeed but ping and browser give the same result
Think you best post a question, it's weird for one site only.
Okay, thank you Gary. On to the next :-)