JQGrid data not loading on page load - php

I am using JQGrid
I have it on 2 domains (same code)... On domain 1, I have not problems with the loading of data when the page loads.
On Domain 2 I have the exact same code but with a problem.
When the page loads it won't load the data but when I click the refresh button on JQGrid the data loads fine but never during page load.
I've looked at the code and it seems the same to me.
Does anyone have any ideas on what could make this strange thing happen?
I've run out of ideas on where to look.

Run fiddler and see whats causing the issue.

Related

Waiting time until finished

I know the title isn't very descriptive, and that's because I don't know the why to this pseudo-problem.
I have a website in php that makes queries to different databases and show the results in a table.
That is working just fine.
My "problem" is that when a query is being processed and the browser is showing the loader icon if i open a second tab it wont load until the first is finished.
I really need to avoid this, but I don't know where the restriction is. Is it something that the browser does?
Two tabs in google chrome wont work, neither two tabs in safari. But the same page opened in both browsers works just fine and there is no "waiting until finished".
Thanks in advance for your help, im really lost here.

PHP+Kendo Grid ServerPaging first Page lists all entries

I've got a working kendo grid with remote data from the webserver.
But the paging isn't working as expected. If the page gets loaded the first time, or I click on page 1 the server returns all the data available.
If I click on page 2 oder every other page than the first one it works fine.
The query seems to be correct as you can see in the screenshot from firebug.
So anyone got a hint for me where to look at?
Just found the problem. I was removing empty parameters on the serverside. So I was throughing away the "skip" which screwed the query up.

How can I use the Jquery fadein/fadeout without reloading the page?

I need to create a website with an audio player that plays as users traverse through the site. At the same time, the content section needs to fade out and back in while this is still going on. So bring in another piece of HTML without reloading the page. The question I have is, how can i get all those to run correctly, while at the same time, running different Jquery plugins on different pages?
Essentially, I need to website to run like this one but with a continuous audio player in the corner or something.
http://www.chalicerecording.com/
If you notice, the page never reloads and the name of the actual file doesnt display on the browser top. This gives me the idea thats its using PHP for the page.
So with that idea, I ended up finding this.
http://www.youtube.com/watch?v=ytKc0QsVRY4
The problem im having with that is that I cant seem to figure out a way to run individual Jquery plugins on each individual PHP page without reloading the entire page. I hope this is enough info for you guys to work with.
you will need to use ajax calls to do so
jQuery.ajax
jQuery.post
jQuery.get
you also need to use jQuery fadeIn , jQuery fadeOut

TinyMCE refresh issue

I'm using TinyMCE, witch is working fine for the most part... when the user saves the page redirects to a a php page that extracts the textfield data and processes it, i wont elaborate cause that's no t the issue... the issue is that when it redirects back to the page... the textfield is blank and i can click on it but not see anything, if i type it enters(but i can't see it), this also happens when i go to the address directly, the only way i can see it is to hit the refresh button... i tried a meta refresh to the page... i tried disabling cache... any ideas would be great... thanks in advance
I was getting this type of error in FF11.tinyMCE creates problem with some latest browsers version.To solve this problem try to get latest version of tinyMCE.

refresh an iframe without flickering

I need it so badly I have been trying it from 3 days but still i cant go for it. The question is how do i refresh an iframe without refreshing entire page for every 2 seconds? I googled so many sites but none helped, All of the codes that I found ,they just flicker the browser window and I dont want it to be happened
some of the sites i googled and more
http://www.codingforums.com/showthread.php?t=168589
http://roshanbh.com.np/2008/09/free-ajax-chat-applications-php.html
but still im unable to get it can anyone kindly explain me with a sample code please?
update
I want an iframe because I want to write users message to an html file using php file concepts and also then display the html file to users by using it as an iframe, for every 2 seconds, So that it looks like chat box.
This was my idea about creating a chat box. I have choose an iframe because i wanted to use smileys in my chat box.Kindly try to help me.Thanks!
Instead of using the iframe as a chat box, you can have the iframe be invisible and have the javascript on the page check the contents of the iframe (hopefully it's the same domain, to make things simple) and update a container on the page itself. Since the page doesn't need to reload, there won't be any flicker.

Categories