Search Results

Showing results 1 to 40 of 703
Search took 0.14 seconds.
Search: Posts Made By: ~s.o.s~ ; Forum: JavaScript / DHTML / AJAX and child forums
Forum: JavaScript / DHTML / AJAX 3 Days Ago
Replies: 3
Views: 341
Posted By ~s.o.s~
What's the string outputted by your echo statement? Can you look at the page source and paste the exact output your see in view source? Also, this (http://www.jsonlint.com/)might help.
Forum: JavaScript / DHTML / AJAX Oct 8th, 2009
Replies: 4
Views: 593
Posted By ~s.o.s~
> is it impossible to do it without that active x?

AFAIK, yes, it's not possible.
Forum: JavaScript / DHTML / AJAX Sep 20th, 2009
Replies: 8
Views: 495
Posted By ~s.o.s~
Thinking about it in this way might help your cause:

power(2, 3) =>

- 2 * power(2, 2)
- 2 * (2 * power(2, 1))
- 2 * (2 * (2 * power(2, 0)))
- 2 * (2 * (2 * 1))
- 2 * (2 * 2)
Forum: JavaScript / DHTML / AJAX Jul 22nd, 2009
Replies: 11
Views: 4,151
Posted By ~s.o.s~
To start off, compare the HTML markup generated by both the pages; the page which works and the page which doesn't. What difference can you see?

Another option would be to Firebug, the excellent...
Forum: JavaScript / DHTML / AJAX May 5th, 2009
Replies: 24
Views: 1,480
Posted By ~s.o.s~
As long as you are using IMG tags to render images, you can use the document.images collection rather than the usual document.getElementById function to grab image references. Regarding the innerHTML...
Forum: JavaScript / DHTML / AJAX May 5th, 2009
Replies: 24
Views: 1,480
Posted By ~s.o.s~
Just to set the context straight here:

Since in this particular case the ID of the image is known, there is no harm in using the `images' collection though getElementById also works.

Using the...
Forum: JavaScript / DHTML / AJAX May 5th, 2009
Replies: 24
Views: 1,480
Posted By ~s.o.s~
> Suggest not using image collection as you need to know the index
> of the image in question.

No you don't; please don't spread FUD.
var myImg = document.images['your_img_id'];
//OR
var...
Forum: JavaScript / DHTML / AJAX May 4th, 2009
Replies: 24
Views: 1,480
Posted By ~s.o.s~
> if(w.blur)w.focus();

This checks the `blur' property of the window object and not if the window is having focus or not. Anyways, this isn't required, you can directly invoke the focus()...
Forum: JavaScript / DHTML / AJAX Apr 13th, 2009
Replies: 3
Views: 1,472
Posted By ~s.o.s~
> Hello, I have a form inside a form.

If possible, reconsider (http://bytes.com/groups/html/95602-nested-forms) your design choice; nested forms violate the HTML specification.
Forum: JavaScript / DHTML / AJAX Apr 2nd, 2009
Replies: 1
Views: 570
Posted By ~s.o.s~
So, what doesn't seem to be working? Start off with a minimalistic approach rather than trying to incorporate the functionality into your existing complicated code. Use an excellent Firefox addon...
Forum: JavaScript / DHTML / AJAX Apr 2nd, 2009
Replies: 1
Views: 741
Posted By ~s.o.s~
Use the class attribute of a HTML element [accessed in Javascript using the className property] for convenient grouping; for each new checkbox spawned, assign it a common class name like...
Forum: JavaScript / DHTML / AJAX Apr 2nd, 2009
Replies: 2
Views: 731
Posted By ~s.o.s~
It's not OK, the return statement must go inside the catch block even when the function's contract is such that it *never* returns `null' for any input [as is the case with getElementsByTagName].
...
Forum: JavaScript / DHTML / AJAX Feb 17th, 2009
Replies: 9
Views: 1,167
Posted By ~s.o.s~
> The error console in firefox does not display any errors.

IMO then it can only mean two things:
- Either the Javascript on the entire page is disabled causing the script not to be executed.
-...
Forum: JavaScript / DHTML / AJAX Feb 13th, 2009
Replies: 9
Views: 1,167
Posted By ~s.o.s~
> could not install it due to some errors

Upgrade to a newer version of Firefox and then try it; ideally there shouldn't be any problems. What is the error you are getting?

Anyways, like I...
Forum: JavaScript / DHTML / AJAX Feb 12th, 2009
Replies: 9
Views: 1,167
Posted By ~s.o.s~
The browser in use can make a difference, the OS doesn't. Which browser are you using on Linux? If Firefox, try using the Firebug addon which provides Javascript debugging capabilities. For looking...
Forum: JavaScript / DHTML / AJAX Feb 10th, 2009
Replies: 15
Views: 2,415
Posted By ~s.o.s~
> Hi, i have made those changes

It seems you haven't since I still see the call "MM_callJS('order(this.form)')"; re-read reply 10.
Forum: JavaScript / DHTML / AJAX Feb 8th, 2009
Replies: 3
Views: 1,233
Posted By ~s.o.s~
Either of them would do; the point I was trying to put across is that for comparison use the == or === operator instead of = operator. Though, using switch seems to be the logical solution here.
Forum: JavaScript / DHTML / AJAX Feb 8th, 2009
Replies: 15
Views: 2,415
Posted By ~s.o.s~
Have you made the fix suggested in my previous post? Re-post the entire code and point out the line which is having problems.
Forum: JavaScript / DHTML / AJAX Feb 8th, 2009
Replies: 15
Views: 2,415
Posted By ~s.o.s~
> MM_callJS('order(form1)')

Replace the above with order(this.form);.

> and i also change the form1 in my function to this.form

Like I mentioned, change form1 to this.form only in onchange...
Forum: JavaScript / DHTML / AJAX Feb 8th, 2009
Replies: 3
Views: 1,233
Posted By ~s.o.s~
For comparison its == or === [strict type safe equals] and not = [assignment operator].
var op = document.getElementById("someId").value;
switch(op) { //switch by default using === operator
case...
Forum: JavaScript / DHTML / AJAX Feb 8th, 2009
Replies: 7
Views: 2,215
Posted By ~s.o.s~
> But it is giving error that x is null. Can any one please correct it?

Because the `style' property is only set when inline style sheets are used. To get the style details of the element whose...
Forum: JavaScript / DHTML / AJAX Feb 7th, 2009
Replies: 2
Views: 3,630
Posted By ~s.o.s~
Rather than using the window.open() function, use the URL passed in the function as the value of the HREF attribute of the ANCHOR element.document.write('<a href="<?php echo $product_flypage ?>">');...
Forum: JavaScript / DHTML / AJAX Feb 7th, 2009
Replies: 15
Views: 2,415
Posted By ~s.o.s~
I already provided the fix in my previous post. If what you posted really is your code then you shouldn't have problem understanding the fix I suggested. Anyways like I mentioned, you need to replace...
Forum: JavaScript / DHTML / AJAX Feb 6th, 2009
Replies: 1
Views: 493
Posted By ~s.o.s~
Use the focus() function of the DOM element to focus on the given element.
Forum: JavaScript / DHTML / AJAX Feb 6th, 2009
Replies: 15
Views: 2,415
Posted By ~s.o.s~
It is only in IE[and some other buggy browsers] that the NAME or ID attribute of an element represents the element in consideration; which actually isn't correct. You actually need to grab the...
Forum: JavaScript / DHTML / AJAX Feb 5th, 2009
Replies: 15
Views: 2,415
Posted By ~s.o.s~
Sifting through that massive piece of code would be time consuming. If developing on Firefox, look into the Firebug addon which adds capabilities like Javascript debugging, error detection etc. Look...
Forum: JavaScript / DHTML / AJAX Jan 27th, 2009
Replies: 3
Views: 2,281
Posted By ~s.o.s~
There is a better way of doing the same thing which encodes the URI component to avoid all such problems:
encodeURIComponent("a,b,c"); // a%2Cb%2Cc
Forum: JavaScript / DHTML / AJAX Jan 25th, 2009
Replies: 20
Views: 3,814
Posted By ~s.o.s~
The number of requests is not the issue here; after all, web servers are tailored to handle several concurrent requests simultaneously.
Forum: JavaScript / DHTML / AJAX Jan 24th, 2009
Replies: 20
Views: 3,814
Posted By ~s.o.s~
> its 255 chars isnt it?

No, it isn't.

> where ans could be upto 10000 charecters

I have been successful in sending more than 33,000 characters when posting data [Tomcat 6.0] both...
Forum: JavaScript / DHTML / AJAX Jan 19th, 2009
Replies: 1
Views: 627
Posted By ~s.o.s~
Consider using a mature Javascript library like jQuery or Prototype which abstracts away almost all browser inconsistencies and quirks. That way, you would be able to build web applications which...
Forum: JavaScript / DHTML / AJAX Jan 14th, 2009
Replies: 2
Views: 852
Posted By ~s.o.s~
Questions related to specific Javascript libraries are better asked in the respective forums (http://dojotoolkit.org/forum) for a quicker response.
Forum: JavaScript / DHTML / AJAX Jan 14th, 2009
Replies: 5
Views: 1,209
Posted By ~s.o.s~
It most likely seems to be a Javascript error which is causing your script to execute intermittently. Using Firebug should show you all the errors along with the line numbers; if you still aren't...
Forum: JavaScript / DHTML / AJAX Jan 14th, 2009
Replies: 5
Views: 1,209
Posted By ~s.o.s~
What do you mean by *doesn't work*? No output, doesn't work as expected?

Use Firefox with the Firebug addon for development which provides a means of debugging Javascript code, inspecting...
Forum: JavaScript / DHTML / AJAX Jan 13th, 2009
Replies: 3
Views: 1,173
Posted By ~s.o.s~
> I worked with ajax, I can do this with a submit button, but when I i
> put the form tag, not work any more.

It worked because Ajax doesn't depend on a FORM element for shipping data to and...
Forum: JavaScript / DHTML / AJAX Jan 13th, 2009
Replies: 1
Views: 599
Posted By ~s.o.s~
Given that the problem description is pretty abstract, there isn't much I can comment on though here are a few thoughts.

I am pretty sure there is nothing which an advanced Javascript toolkit like...
Forum: JavaScript / DHTML / AJAX Jan 12th, 2009
Replies: 4
Views: 2,677
Posted By ~s.o.s~
> Is there a way to display the source of the iframe or the html file
> that is being displayed in the iframe in the web browsers address
> bar?

AFAIK, no. It seems pretty logical that the URL...
Forum: JavaScript / DHTML / AJAX Jan 8th, 2009
Replies: 1
Views: 1,382
Posted By ~s.o.s~
> is there any solution that IE will not block my java script so the IE
> user's can directly see it

Simply put, no, otherwise there would be little point in providing security settings for...
Forum: JavaScript / DHTML / AJAX Jan 8th, 2009
Replies: 4
Views: 1,565
Posted By ~s.o.s~
If you want to execute an action [i.e. send a HTTP request] without reloading the page, you have two options:
- Remote scripting via hidden IFRAME...
Forum: JavaScript / DHTML / AJAX Jan 7th, 2009
Replies: 10
Views: 2,194
Posted By ~s.o.s~
Checking out that huge chunk of code for Javascript errors is quite a herculean task.

To ease your development, I would recommend that you carry out your development testing in Firefox and make...
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2009
Replies: 1
Views: 1,659
Posted By ~s.o.s~
On the mentioned web page there are no frames, only inline frames; they are different things and also handled differently.

In the second URL you posted, the function invoked on a link click is...
Showing results 1 to 40 of 703

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC