Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 296
Search took 2.11 seconds.
Search: Posts Made By: oVTech
Forum: JavaScript programming 04-20-2012, 06:28 AM
Replies: 2
Views: 339
Posted By oVTech
The following is invalid HTML: <a...

The following is invalid HTML:

<a href=""http://www.bobearlracing.com"" id="adLink1" target="_blank">


It should look like this instead:

<a href="http://www.bobearlracing.com" id="adLink1"...
Forum: PHP 04-20-2012, 02:04 AM
Replies: 7
Views: 627
Posted By oVTech
Within a string such as "billy@gmail.com",...

Within a string such as "billy@gmail.com", strstr() finds the 1st occurrence/position of a substring (for example the '@' sign is a substring), and returns that substring plus the string that follows...
Forum: JavaScript programming 04-19-2012, 03:42 AM
Replies: 28
Views: 795
Posted By oVTech
I did not say that "Logic" is a programming...

I did not say that "Logic" is a programming language, however it is of a large concern when programming an application (as you would agree!).



You can have all the logic you want, but when...
Forum: JavaScript programming 04-19-2012, 01:49 AM
Replies: 28
Views: 795
Posted By oVTech
I really do not know how to check any programming...

I really do not know how to check any programming logic for correctness
if it has syntax errors. Can you show me how to do this on a real application
with a few 100 lines of code?
Forum: JavaScript programming 04-19-2012, 01:09 AM
Replies: 28
Views: 795
Posted By oVTech
getfirebug.com/whatisfirebug

getfirebug.com/whatisfirebug
Forum: JavaScript programming 04-19-2012, 01:02 AM
Replies: 28
Views: 795
Posted By oVTech
SyntaxError: Unexpected identifier ...

SyntaxError: Unexpected identifier

SyntaxError: missing ( before condition

while count < 10
Forum: PHP 04-19-2012, 12:55 AM
Replies: 7
Views: 627
Posted By oVTech
Probably I am not answering your question, but...

Probably I am not answering your question, but here are 2 messages quoted directly from php.net:



They're talking about: mysql_real_escape_string()
Forum: JavaScript frameworks 04-19-2012, 12:26 AM
Replies: 1
Views: 1,458
Posted By oVTech
The RegEx that you're using seems like an...

The RegEx that you're using seems like an overkill... however here is a working example: http://jsfiddle.net/NHhAZ/

and here is the JS code:
JAVASCRIPT:

$('#email_form').submit(function(e) {...
Forum: JavaScript frameworks 01-17-2012, 05:53 PM
Replies: 3
Views: 448
Posted By oVTech
I am not sure what you mean by long syntax -...

I am not sure what you mean by long syntax - perhaps you mean jQuery(this) instead of $(this).

The variable $element is a newly created variable so there is no reason for it to be a problem by...
Forum: JavaScript frameworks 01-16-2012, 02:59 AM
Replies: 3
Views: 448
Posted By oVTech
Try to wrap the keyword this like so: $(this)

Try to wrap the keyword this like so: $(this)
Forum: JavaScript programming 01-08-2012, 06:27 PM
Replies: 16
Views: 1,222
Posted By oVTech
I don't really know which method is more...

I don't really know which method is more efficient, however I prefer to understand my code bit by bit so x==0 just seems a little error prone. For example x===0 will not work. I know that...
Forum: JavaScript programming 01-08-2012, 06:02 PM
Replies: 16
Views: 1,222
Posted By oVTech
Here is how you could do it with my method: ...

Here is how you could do it with my method:


var fruits = [
["Apple", "64", "8"],
["Banana", "20", "19", "99"],
["pear", "12", "7", "2"],
["Orange", "16", "65", "33"] ...
Forum: JavaScript programming 01-08-2012, 02:05 PM
Replies: 16
Views: 1,222
Posted By oVTech
This should do the trick. For each inner Array...

This should do the trick. For each inner Array it starts counting a [1] and keeps going until it hits the end. So even if one inner Array has 5 elements and another one has 10, it will still get to...
Forum: JavaScript programming 01-08-2012, 12:16 PM
Replies: 3
Views: 320
Posted By oVTech
If you have to do this with javascript, you can...

If you have to do this with javascript, you can try something like this:

HTML:


<select id="s">
<option value="f">f</option>
<option value="d">d</option>
<option...
Forum: JavaScript programming 01-08-2012, 11:41 AM
Replies: 4
Views: 633
Posted By oVTech
You can place script tags in the head and body...

You can place script tags in the head and body but that depends on your application. In your case you must place the script under the div because the div where the script is writing to has to be...
Forum: JavaScript programming 01-08-2012, 11:27 AM
Replies: 2
Views: 971
Posted By oVTech
This could be a server issue. Try to view your...

This could be a server issue. Try to view your website with different browsers and see if the same thing happens. If the issue exists in all browsers then you can ask your web hosting company to...
Forum: JavaScript programming 01-08-2012, 10:03 AM
Replies: 4
Views: 633
Posted By oVTech
Try to add the script above after the div with id...

Try to add the script above after the div with id "flashcontent", or else try to wrap it in a window.onload like so:


<script type="text/javascript">
window.onload = function () {
var fo =...
Forum: HTML & CSS 01-08-2012, 09:52 AM
Replies: 3
Views: 350
Posted By oVTech
The <center> tag is deprecated so try to avoid...

The <center> tag is deprecated so try to avoid it. There are many ways of fixing issues like that, however you can try to play with margins. For example adding the following seems to do the trick...
Forum: HTML & CSS 01-08-2012, 09:32 AM
Replies: 3
Views: 308
Posted By oVTech
Add the following to the div with class...

Add the following to the div with class "xboxcontent":

overflow: hidden;
Forum: JavaScript programming 11-10-2011, 04:23 AM
Replies: 7
Views: 2,984
Posted By oVTech
Unfortunately, I don't have all the time in the...

Unfortunately, I don't have all the time in the world and can't build your whole application for you. FYI: What you're trying to do doesn't seem like an application at all, so instead of trying to...
Forum: JavaScript programming 11-09-2011, 04:54 AM
Replies: 7
Views: 2,984
Posted By oVTech
saltoceana, I am not really sure what the purpose...

saltoceana, I am not really sure what the purpose of this is, however here is another working example (not the best way, but it works):




<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0...
Forum: DOM and JSON scripting 11-05-2011, 12:16 AM
Replies: 9
Views: 1,013
Posted By oVTech
Hey neurotopia, Well... if...

Hey neurotopia, Well... if shards[i].style.display = 'none'; was working, then I am not sure what variable/object/HTMLElement was undefined - I would have to see your complete code in order to tell...
Forum: DOM and JSON scripting 11-04-2011, 04:33 AM
Replies: 9
Views: 1,013
Posted By oVTech
The TypeError is probably thrown because...

The TypeError is probably thrown because shards[i] is undefined, therefore getAttributeNode can't be called on an element that isn't a node.

Perhaps this is what you're looking for:

<script...
Forum: JavaScript programming 11-03-2011, 10:45 PM
Replies: 17
Views: 816
Posted By oVTech
Show me an example.

Show me an example.
Forum: JavaScript programming 11-03-2011, 07:58 PM
Replies: 7
Views: 2,984
Posted By oVTech
Don't use document.write(). Try to use...

Don't use document.write(). Try to use document.createElement(); See these links:
https://developer.mozilla.org/en/DOM/document.createElement...
Showing results 1 to 25 of 296

 
Forum Jump

All times are GMT +1. The time now is 12:36 PM.