15,120 Topics

Member Avatar for
Member Avatar for RGStrat

Hello Everyone, So I have a problem that is genuinely stumping me here. The sad part is this is probably something very easy. I'm using the following script for a site I'm working on: http://css-tricks.com/rethinking-dynamic-page-replacing-content/ However, one of the "pages" i'm working on requires a verticle menu that you can …

Member Avatar for JorgeM
0
329
Member Avatar for lanhaibibo

Hey, Everyone, I am new to CSS programming. SO have some basic questions about the input tag in CSS in the following example. SO, <input type="submit" value="Submit"> does not mention anything about a button, how do you even know that it defines a button ? Thanks in advance. <!DOCTYPE html> …

Member Avatar for crescendo
-1
221
Member Avatar for lanhaibibo

function smile () { document.getElementById("textfield_width").value = width; //set the elements with id "textfield_width" some value the value of the variable width--> document.getElementById("textfield_height").value = height; // set the elements with id "textfield_height" some value the value of the variable height --> }

Member Avatar for almostbob
-1
209
Member Avatar for Midgard

Hey all- No doubt, I'm going to be redirected to various threads, but I've looked & I still haven't been able to find the proper solution to my problem. Scenario: Fairly large site, most data is brought in via ajax... *Sometimes* the data brought back might include a dropdown menu …

Member Avatar for paulkd
0
649
Member Avatar for AycheKay

I have a div full of links formatted to look basically like square buttons. Each link represents a given product brand. Currently they are anchor tags that link only to # but in the future they may need to link to webpages. When the user hovers on each link, I …

Member Avatar for pritaeas
0
270
Member Avatar for brolly234

Hello i need help with javascript on how to show and hide ads as i ont know much about javascript <html> <h2>Hide Div in JavaScript</h2> <script language=javascript type='text/javascript'> function hideDiv() { if (document.getElementById) { document.getElementById('div').style.visibility = 'hidden'; } } function showDiv() { if (document.getElementById) { document.getElementById('div').style.visibility = 'visible'; } } …

Member Avatar for pritaeas
0
298
Member Avatar for furlanut

I have some experience of PHP but limited knowledge of handling arrays. My db table has 5000+ rows and 13000 populated fields. I want to create an alphabtical, visible index of the contents of each field, possibly for inclusion in an html page. If this possible, can it be initiated …

Member Avatar for diafol
0
317
Member Avatar for Dani

Can you guys help me figure out what's wrong with www.daniweb.com/chat (Sorry, you need at least 5 posts to access the page) It looks fine in Chrome, Firefox, and even Internet Explorer. But the right column doesn't show up in Safari. :(

Member Avatar for Dani
0
218
Member Avatar for taylby

I am working on a facebook application using Javascript, Knockout JS and ofcourse facebook's js SDK. I have created my view model to have several properties on, one of which is the facebook user id. This I will send off to my server in due course so I can tie-in …

Member Avatar for ryanki10
0
323
Member Avatar for Violet_82

Chaps, I wonder if you can help me with this problem please. In a nutshell I am trying to remove/add round corners around a container on the fly. The reason is that I have a div with some content that slides down and when the content is visible I want …

Member Avatar for Violet_82
0
267
Member Avatar for sidd.

Hi, I need to assign double inverted comma(") to a variable. Please let me know how this can be done. Regards Sid

Member Avatar for aluxian
0
67
Member Avatar for KamiNuvini

Hello, I'm really new to HTML/jquery so having some issues with submitting a form to jQuery and showing the results in a div. What I want -> Text box: Fill in text Button: Submit text as POST data with longurl=<text>, and display the result in a div (#shorturl) I have …

Member Avatar for KamiNuvini
0
3K
Member Avatar for matthewl6970

When I try to use the token data it acts like it is out of scope or it leaked. I have tested this in firefox and cannot figure out what is happening. If you could help me understand why it fails to return the token please feel free to reply. …

Member Avatar for Troy III
-1
160
Member Avatar for gaurav_9

Hi I am migrating code from javascript to jquery. What would be the equivalent jquery of the following javascript. document.getElementById("#elementname").getElementsByTagName('tagname'); Cheers.

Member Avatar for Troy III
-1
2K
Member Avatar for Dimonai

Hello to everyone, my problem is, Im creating dynamacly rows in a table with a textfield and a checkbox, but to delete the rows the checkbox must be on the first column witch I dont get it, if I move the checkbox to the last column and press it, javascript …

Member Avatar for Dimonai
0
275
Member Avatar for ngonix

Hello, I have a small issue with copying text from one textbox in main window to another textbox in an iframe. The code i have is as follows: index.html <html> ... \\JQuery Library Here \\JQuery Code <script> $(function() { $('#lastName').keyup(function() { var txtClone = $(this).val(); var rel = $("#listUnder").contents().find("#relationship option:selected").text(); …

Member Avatar for ngonix
0
1K
Member Avatar for joanna alday

hello!!! guyz i want to learn how to make a website or web application, and i want to use ajax language.what are the compbination of ajax.it is easy to use or not?

Member Avatar for JorgeM
0
163
Member Avatar for t_thakar

Hi Im new to JQuery and sorry if this question sounds silly. my question is what is the difference between $.ajax and $.post and which is best if I am posting some form to a php and retriving some values on the same page as the form e.g. contact us …

Member Avatar for t_thakar
0
362
Member Avatar for hackoman96

i am kinda new to programming and i wwanted to ask that the java language and java script are the same thing plesse >>> provide a reason>>>> thank you

Member Avatar for Troy III
0
297
Member Avatar for DavidB

Any time I have included an alert in a Javascript program, I have simply called it as "alert", for example, alert("The value of the variable is presently " + varValue + "."); However, I also see code that calls it as window.alert. For example, window.alert("The value of the variable is …

Member Avatar for Troy III
0
5K
Member Avatar for guido_1

Hi, I have a form where a customer choose from "option radio" a pizza : mini - medium - maxi. I have topping with checkbox: toppingmini for pizza mini, toppingmedium for pizza medium and toppingmaxi for pizza maxi. A customer when click on radio "pizza medium" display only toppingmedium..... It's …

Member Avatar for iamthwee
0
148
Member Avatar for M.Ledovich

A one liner definition of obfuscation from wikipedia: >In [software development](http://en.wikipedia.org/wiki/Software_development), obfuscation is the deliberate act of creating obfuscated code, i.e. [source](http://en.wikipedia.org/wiki/Source_code) or [machine code](http://en.wikipedia.org/wiki/Machine_code) that is difficult for humans to understand. Obfuscated JavaScript code is a widely used technique to hide initial functionality of a given script. There is …

0
383
Member Avatar for web01

Hi, i have the following script <html> <head> <script type="text/javascript"> function displayResult() { var x=document.getElementById("mySelect").selectedIndex; var y=document.getElementById("mySelect").options; document.getElementById('result').innerHTML = "You have selected " + y[x].text; } function displayResult2() { var x=document.getElementById("volume").selectedIndex; var y=document.getElementById("volume").options; document.getElementById('result2').innerHTML = "You chose " + y[x].text; } </script> </head> <body> <form> Select Drink<br> <select multiple="yes" size="7px" …

Member Avatar for stbuchok
0
136
Member Avatar for diei.nnaemeka

am trying to launch a file embbeded in a pdf document. with java script can anyone write a code

Member Avatar for diei.nnaemeka
0
140
Member Avatar for patk570

I have a form that is very basic, I have 2 fields that call for the hidden input select using a basic JS, what I want to know is if there is a way to make it hide again when they select something different. Here is my JS: <script type="text/javascript"> …

Member Avatar for patk570
0
207
Member Avatar for Renukavani

Hi All, I'm new to this jquery and i found some article, implemented but its server side method is not firing. Plz if you know help out this probelm. These is the code implemented in my application in jquery side. [CODE]<script type="text/javascript" ></script> <script language="javascript"> $(document).ready(function() { $("#btnClick").click(function() { var …

Member Avatar for patelkisankumar
0
1K
Member Avatar for pars99

The HTML: <!DOCTYPE HTML> <head> <link rel="stylesheet" type="text/css" href="/Users/Alireza/Desktop/Index.css" /> <script src="http://www.ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> <script type="text/javascript" src="/Users/Alireza/Desktop/Index.js"></script> </head> <body> <div></div> </body> The CSS: div{ height: 100px; width: 100px; background-color: red; border: 4px dashed #00FF00; } The jQuery: $(document).ready(function(){ $('div').click(function(){ $('div').effect('explode'); }) }) Please help me. I really don't know why it isn't …

Member Avatar for pars99
0
370
Member Avatar for websponge

Hi There, I have written a very simple notice board page, for displaying information to the team where I work. I want to have an admin.html page where I can enter details in fields and select from drop downs, then hit submit and it populates a page called "notice.html" is …

Member Avatar for JorgeM
0
125
Member Avatar for mattsheets

Hello I am trying to parse a .json file.. it only has 1 set of data I don't think the $.each is the best approach but it's all I can find.... Here is my code: <script type="text/javascript"> function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var …

Member Avatar for mattsheets
0
228
Member Avatar for Captain119

Hello everyone! Webdesign isn't my thing but i know enough to help maintain a website for a church, it is a small scale and all i do is post events and upload pictures. a few days ago the site's ftp account got hacked and all the files been modified. i …

Member Avatar for Captain119
0
244

The End.