Hi,
I've created a shout box on my homepage, which refresh every three seconds. I've made it scroll default as bottom, so this box will scroll when the pings are very long. If someone want to see the old pings, they can scroll up. Due to the three second refresh, I can't read my old pings.
So I wish to restrict the shout box refresh. W...
HI,
I'm having a JSON parsed return object set.
{
"word":[
"offered",
"postings"
],
"annotation":[
["offered highlighted","this is also given as annotation","This annotation has been added here currently","offering new annotation points","\"offered\" is in the sense of languages"],
["my postings","this is...
I want to create a dictionary containing array and send it to GAE using jquery's ajax request.
something like- {'a':'text', 'b':'othertext','c':['texta','textb']} which I'm creating manually.
I am able to receive and process a and b using self.request.get on GAE but not the c.
Is there any other way to create JSON object in js? Please s...
Hi,
i am getting this url in my firebug Console tab
GET http://www.boxyourtvtrial.com/widget/calorie/calories_trial/js/cbc_handler.js?_=1280734587082
GET http://www.boxyourtvtrial.com/cakephp-hDemo/cbc/index
GET http://www.boxyourtvtrial.com/cakephp-hDemo/cbc/calburned
But what i want is
http://www.boxyourtvtrial.com/cakephp-hDemo is...
public JsonResult UnassToOrder(string location, string article_number)
{
//....
return Json(new {
success = true,
redirect = "ImportXML/Index"
});
}
<script type="text/javascript">
$(document).ready(function() {
$('input:radio').click(function() {
var location = ...
<script type="text/javascript">
html code here
</script>
...
Hi,
Does better to write and why:
var arr=[]; then var arr=new Array();
var obj={}; then var obj=new Object();
I read slide lection page 36 about that idea , but no explanation was given or example why its better.
Thanks
...
I have a component (say a div) where I had set style for both the id and class.
I have to use the specific styles (id or class) depending upon the event, which I guess can be done by JavaScript. Is this possible? Please help!!!
...
Will Firefox 4, Chrome 6 and IE9 secure this security hole where user history can be accessed with js?
http://www.niallkennedy.com/blog/2008/02/browser-history-sniff.html
...
Hi I'm having a small issue with a form that uses dojo for validation and other UI tasks such as auto complete etc.
The form is dynamic so that elements can be added by the user by calling a sub form within a dojo dialog box. This adds other elements to the form quite nicely however, all filtering selects or comobo boxes have their val...
Hello
I've a page in an ASP.net site where i've multiple content placeholders, script tags with JavaScript functions and others elements. I'm hiding all content holders and other html elements using JavaScript except a div which i want to display. But i get the other scripts running in that page. How can i remove them?
Any ideas?
Edit...
Hello All,
I am having a confirmation box after clicking on the "Delete " link in the jsp. Now the problem is that the success deletion page is showing in the same window.
I would like to show it in a pop up window.
I tried to use the javascript onclick(), but it is not wotking. So, how can I do that?
<script type="text/javascript" s...
I've recently added the wibiya toolbar to my site. Since doing that, my jquery script stopped working. I've checked their troubleshooting section and did the trick they are suggesting. Now my jquery works, but I am still getting loads of warning messages and the jquery script act a bit weird...
Has anyone had the same problem? How did y...
Hello, I have some javascript code and a button which already has an event/action assigned to it, and I want to add a second event to the button. Currently the relevant bit of code looks like this:
events: {onclick: "showTab('"+n+"')"},
how do I amend this code so that it also increases the 'wdith' property of a div with class='pa...
When server side code is updated (related to JavaScript) the old JavaScript files are served from cache.
I need a solution where the old JavaScript files get updated to their newer versions. Browser cache (related to JavaScript) need to be invalidated once the files on server are updated.
I have got the following solution to this probl...
I have a grid view and i am using an hyperlinkfield. Now i need to call another web page using this hyperlink field. This page should be a pop up.
It has to be a javascript function. Dynamically i need to pass group_id value as a query string.
Can you please let me know how to do this.
Right now i am doing this
It works but i need...
Hi,
I have an HTML that uses the following script as described in the first example here:
http://www.mattkruse.com/javascript/selectbox/
I want to use PHP to extract the options that are in the right select box. How do I do that if they are not actually 'selected'?
Thanks,
...
I have got 2 javascript variables:
var list1 = "john doe|bill williams|poll bregg|michael jordan";
var list2 = "analytic|trader|doctor|athlete";
We have to take in mind, that relations between this two variables are that names and professions are placed in the same order, eg. poll bregg is a doctor, but john doe is an analytic.
Than ...
Hi,
I've got a problem with another dojo enabled form that I am working on. A user can enter details onto the page by entering the data using a dialog box, which in turn updates the database and then displays the user data entered on to the form.
Each element added consist of 2 x Validation Text boxes 1 x FilteringSelect. When it's ...
Let's say I have an iframe on a HTML page:
<iframe src="/script.php"></frame>
The iframe is inside a modal box window (I'm using a jQuery plugin for modal window: http://opensource.steffenhollstein.de/templates/modalbox/).
When the modal box gets closed, the iframe inside it is removed from the page's HTML with jQuery remove() method...