14,054 Topics

Member Avatar for
Member Avatar for vishalkhialani

Hi, My script works perfectly but when I put in in the wordpress post the below variable is changed from [CODE] var initialData="\{\"0name\":\"Secret\",\"0brandStatus\": \"checked\",\"1name\":\"OldSpice\",\"1brandStatus\": \"checked\",\"2name\":\"Degree\",\"2brandStatus\": \"checked\",\"3name\":\"Dove\",\"3brandStatus\": \"checked\",\"4name\":\"Axe\",\"4brandStatus\": \"checked\",\"5name\":\"Maxim\",\"5brandStatus\": \"checked\",\"6name\":\"Nivea\",\"6brandStatus\": \"checked\",\}" ; [/CODE] [B]to[/B] [CODE] var initialData="{"0name":"Secret","0brandStatus": "checked","1name":"OldSpice","1brandStatus": "checked","2name":"Degree","2brandStatus": "checked","3name":"Dove","3brandStatus": "checked","4name":"Axe","4brandStatus": "checked","5name":"Maxim","5brandStatus": "checked","6name":"Nivea","6brandStatus": "checked",}"; [/CODE] [B]How do I make sure the …

0
71
Member Avatar for amylawson

Recently I came across this website [URL="http://www.willebois.nl/photo/"]http://www.willebois.nl/photo/[/URL].I would like to know if we can acheive the same effect using something other than javascript.I am a novice programmer an really dont understand the logic behind the website. please help

0
45
Member Avatar for aditya61

The above code will get the user information from page "getuser.php". The output of getuser.php has some numericals populated in 5 rows. The 6th row i.e., the table footer has the sum of all numericals populated in the above 5 rows. The numericals in the first 5 rows are populated …

Member Avatar for scrappedcola
0
306
Member Avatar for Naggelos

Hello, I'm looking to learn Javascript. My knowledge of it is currently very limited, so I would like to learn it properly.. from scratch. Could anyone recommend me Javascript resources?

Member Avatar for bben95
0
81
Member Avatar for petercpwong

I was just wondering if it was possible to upload an image using XHR rather than a hidden iframe? If so, do all modern browsers support it?

Member Avatar for mehdi991
0
305
Member Avatar for kischi

Hi I'm tryng to make two boxes on my page always the same hight, no matter how much text is inside one of them. So the boxes will always be the hight of the box with the most text. you can see what I meen here: [url]http://wearecrunch.dk/test-globeaid/[/url] I would wan't …

Member Avatar for kischi
0
175
Member Avatar for xxcaliburr

How to align three divs to the right part of the page. We can do this [CODE] div1 { padding-left: (xyz) px; float:left; } div1 { float:left; } div1 { float:left; } [/CODE] but my question is what if these three divs are not of constant width (e.g if they …

0
53
Member Avatar for innovativesln

There are lots of websites , which are using ajax. But, there are some who just made ajax most popular thing nowadays . Here are some examples. Google Twitter Facebook Linkedin Orkut Myspace Google maps Wordpress Knol

-2
90
Member Avatar for ChrisATO

Hello, thanks for reading my thread. I'm still new to web development so I appreciate your help in advance. Here is the issue I am having: In my project, I have a index.php page with a sidebar menu and a div id called “content”.The user can select different menu items …

Member Avatar for ChrisATO
0
363
Member Avatar for keavon

Hello. What I need is very simple in concept, although I am the worst in the world (not really) at JavaScript. I basically want to make a displayed image change, no special effects, every set amount of seconds. I also want to have a forward and backward image button to …

0
93
Member Avatar for Whilliam

Hello. Im not very good with javascript. My knowledge is very limited. I need your help. See, this code is going to check if a user has inputted an empty field or not. As of now, Im testing it on 'first name' text field. If the user didn't input anything …

Member Avatar for hielo
0
418
Member Avatar for camilahlah

I need to get the values of all textboxes that I've generated through dropdown list using AJAX. I've been getting only the last value of the textbox, I can' seem to loop it. Anyway, here's my code: [CODE] <? include('connect.php'); $tag = $_REQUEST['tag']; $ProjectName = $_REQUEST['ProjectName']; $Description = $_REQUEST['Description']; $textboxes …

0
78
Member Avatar for Infame

Hi there! I recently attempted making a code that would strip certain characters: [CODE]function writeColum () { var x = document.getElementById("wc").value; document.getElementById("passValue").innerHTML=x.replace(/(\<.+>|<\/|<|>)/ig, "[censored]"); }[/CODE] It works fine when showing it in 'live preview', but how can I make the clean value be used in a <form> be used instead of …

0
77
Member Avatar for public-image

Hi Guys! I'm currently trying to refresh a DIV on my page that is linked to MYSQL (changes if database has 1 or more rows) without refreshing the entire page, I've tried using javascript although it didn't seem to work and so Im back to the drawing board, Im not …

Member Avatar for rizvihaider72
0
101
Member Avatar for brandonna

Doing a upgrade most likely next year on my website, but need to figure out how much to budget for it. I like the look of the following sites and was wondering: 1) mint.com 2) benzinga.com Can you tell if they are: a) wordpress customization jobs? or another cms tool? …

Member Avatar for rizvihaider72
0
198
Member Avatar for arthurav

I have created a checkDelete function to ask the user if he wants to delete the selected entries from a database. The problem is that choosing cancel still deletes those entries. This is the function: function checkDelete (){ var answer = confirm("Are you sure you want to delete the selected …

Member Avatar for almostbob
0
306
Member Avatar for rajesanthu

[COLOR="Red"]NB:Excuse me Experts,,,This is only for beginners......[/COLOR] [COLOR="Green"]JAVASCRIPT FOR CHECKING WHETHER THE TEXT FILED IS FILLED OR NOT[/COLOR] Be noted that 1.The form given above is just for example 2.You can add your own form,,please dont forget to chenge the names in assignments as you are going on your own …

0
208
Member Avatar for sachin bhosale

how to just make same effect means same on cross browser.i just make one template in which there are images in IE6 background of images get something light white color. help me out!

0
60
Member Avatar for sumit_indian

Hello Friends , I m new in Javascript i m trying to validate two date coming in the format `DD-MON-YYYY` coming through `PopUP-Calendar` in two textboxes but unable to get required result I musing following function: <script type="text/javascript"> function check(){ var SDate = document.form.previous_date.value; var EDate = document.form.next_date.value; if (SDate …

Member Avatar for sahayata4u
0
233
Member Avatar for severman

hi all is it possible to find with jQuery an id that start with something, then a specific string, and then something. for example lets say that i have this divs [code] <div id="first_search_div1"></div> <div id="second_search_div2"></div> <div id="third_bla_div3"></div> [/code] i want to find this patern: *search* the result should the …

Member Avatar for Airshow
0
149
Member Avatar for thatguy2

I am trying to pre-populate form selections by evaluating a string. I will import a dynamic string later, but wanted to focus on the search function. If the value has a match in the string then write "selected" in the input tag to select it for the viewer. What am …

Member Avatar for thatguy2
0
151
Member Avatar for mbarandao

I'm working with this form which has js calendar. unfortunately, I can't get the calendar to work onclick. It produces the following error: [CODE] Uncaught SyntaxError: Unexpected token [/CODE] can't make out the error. Not sure if this is related to another onclick function. Here is the actual code: [CODE] …

Member Avatar for mbarandao
0
137
Member Avatar for kiranbvsn

hi all i developed one application in .net which i've used both javascript (on button clicks) and jquery (using script manager) my problem here is i've disabled "Edit and Delete" buttons in my page when clicking the "Add" button so far the application worked fine with in my system (i.e. …

Member Avatar for Airshow
0
60
Member Avatar for puvi

hi, to validate the name entered by user, i am using this expression "/^[a-zA-Z, ,]/". The name should contain only alphabets and space, if anything other than these two appear in the string, it should output alert msg. Is this expression correct? it is working fine only when numbers are …

Member Avatar for puvi
0
112
Member Avatar for kiranbvsn

HI, I am using Ajax,Jquery in my web application, the problem i am facing is, when i kept my page idle till the session expires and then if I click on any buttons above javascript exception is coming and page freezs with out doing any functionality such as OnselectedIndexChanged of …

0
54
Member Avatar for mai03002

Task 1 - DHTML in the example that you could show English and Swedish text, hold the pointer over two different links. This example illustrates the principles behind DHTML, but you will certainly find weaknesses: • When the page loads first time, both English and Swedish text. • When you …

0
53
Member Avatar for subhankar02dey

I have a div tag, I want to print the content of it. I have done it using Java Script, but I am not getting the styles applied to different texts or textboxes into printout. I want to get the print with CSS styles. How to do it using Java …

Member Avatar for Airshow
0
103
Member Avatar for MARKAND911
0
68
Member Avatar for mbarandao

Hello: I'm using this script as an auto resize function for an iframe, but can't get it to work [U]in safari. [/U] [CODE] <script type="text/javascript"> <!-- function calcheight() { var the_iframe = document.getElementById('paymentHistory'); var the_document = (the_iframe.contentWindow ¦¦ the_iframe.contentDocument); if(the_document.document) the_document = the_document.document; var the_height= the_document.body.scrollHeight;} //--> </script> [/CODE] to …

Member Avatar for mbarandao
0
195
Member Avatar for nickles

Hi, I've built a login box that uses ajax to verify a user's account. If something is wrong (ie. password and username don't match) it spits an error message out underneath the password field. I have two questions: 1. How can I get the box to resize automatically to fit …

0
70

The End.