15,120 Topics

Member Avatar for
Member Avatar for rm_daniweb

Hi All, I just want to share my code. A lots of website said that php is on server side and javascript is on client side...they said we cannot run php on javascript... here's how we can run php function when you click call the onchange events on javascript. [code=php]function …

Member Avatar for talad
0
3K
Member Avatar for Violet_82

Hi there, I am in a bit of a situation. I have a few images that I have inserted in my html using javascript. The url of the images are stored as strings in json object notation and to access them in the script I had to have 2 nested …

Member Avatar for Violet_82
0
133
Member Avatar for jasperuser

Hi all, I am new to Ext JS, I have tried 'drag and drop' and it is working fine when i drag rows. What I am trying now is dragging a row (a field from MySQL) from left grid and dropping it on right grid that gives data from database …

Member Avatar for jasperuser
0
206
Member Avatar for sri.
Member Avatar for jax001

CAN anybody help m please i need it fast create interface where user can enter animals that he/she is buying from list of partner on a single cattle receipt. All data must be stored into temporary data container where data will always be available to view and edit. Maximum width …

Member Avatar for blocblue
0
190
Member Avatar for bad.boy.Vlad

I have this code to showor hide a div when click on button.But... If you ckick button the div appear.. but when you click again the div doesnt dissapear:| Code: function infoshowhide(){ if(document.getElementById('info11').style.display = 'none') { document.getElementById('info11').style.display = 'block'; } else { document.getElementById('info11').style.display = 'none'; } } *and i need …

Member Avatar for bad.boy.Vlad
0
258
Member Avatar for klemme

I dont have the best knowledge to js ot Jquery, so here goes: I have some links, that returns false when clicked on. But still i want to add a class to the element being clicked, because it is kind of a tab thingie in a div, so for usability.. …

Member Avatar for klemme
0
205
Member Avatar for programmer12

Hi, I am trying to create a jquery fadeIn from an external file. I am using AJAX and PHP (see below) 1st snippet is the notify.php file. 2nd snippet is the external file called random.php My question is: Where and How should I add in the Jquery to perform this …

0
66
Member Avatar for hallianonline

Hello, I want to set the default backgournd color to transparent but getting white color when i set it to transparent please check the line 26 ( **defaultBgColor: '#e5e5e5**') and 143 ( **backgroundColor: settings.defaultBgColor** ) of my code and please fix it for me please thanksss (function($) { var methods …

Member Avatar for hallianonline
0
205
Member Avatar for ajay.motah

hi, i am new to jquery though im learning,together with ajax. I have the following script that displays a modal login form after cliking on login_link. But for my web page, i used the .load to load content in the main content div, so whenever this code is placed the …

Member Avatar for blocblue
0
426
Member Avatar for rotten69

Hi everyone! My questions for the day are: Has anyone here used Wakanda studio/server to make a native app for smartphones? if yes or know anything about it, Give us an insight please. Do you know any free and easy to use studio that lets you develop native apps using …

0
94
Member Avatar for codemonkey88

Hello, I have been creating a website using a content slider (malsup's Cycle). When you first load the site it looks fine, but then if you click the home link, its shifting to the left hand side of the page, and clicking the arrow buttons makes it format really oddly. …

0
84
Member Avatar for kevindougans

Can anyone help me with jquery ui selectable please? My html is: [CODE] <input style="" id="input_4" name="input_4" value="" /> <ol id="selectable"> <li class="ui-widget-content">Reservations </li> <li class="ui-widget-content">Information and Enquiries</li> <li class="ui-widget-content">Mambo Tours &amp; Events</li> <li class="ui-widget-content">Press, Marketing &amp; PR</li> <li class="ui-widget-content">Business Development &amp; Franchise</li> <li class="ui-widget-content">Mambo TV &amp; Livestreaming</li> <li class="ui-widget-content">Mambo …

Member Avatar for abtraju
0
495
Member Avatar for RoyDot

Hi there! I'm new in JavaScript - I have a few button that i want to change their background image when i click them. What am I doing wrong? This is my code: <script type="text/javascript"> function Seat_OnClick(control) { var selectedImg = "url(../images/selected_seat.jpg) no-repeat transparent"; var deselectImg = "url(../images/normal_seat.jpg) no-repeat transparent"; …

Member Avatar for RoyDot
0
186
Member Avatar for indu.y

hi everybody ,this is my first post.. :) Am creating a dynamic text box along with datepicker image.. when I enter newdate into the text box, it simply goes to previous textbox and updating the textfield. How to enter the date into the newly created text box??? And also once …

Member Avatar for padduamar
1
176
Member Avatar for nHulk

This is error its throwing : javax.servlet.ServletException: /dtl.xhtml @13,75 value="#{registerBean.reteriveData()}" Error Parsing: #{registerBean.reteriveData()} javax.faces.webapp.FacesServlet.service(FacesServlet.java:606) org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393) dtl.xhtml <h:dataTable value="#{registerBean.reteriveData()}" var="rb"> <h:column> <f:facet name="header"> <h:outputText value="Model" /> </f:facet> <h:outputText value="#{rb.fname}" /> </h:column> </h:dataTable> registerBean.java public List reteriveData() { Connection con = null; List list = null; try { DBConnection db = new …

Member Avatar for nHulk
0
235
Member Avatar for xjshiya

I have an array of checkbox that is populated with data from mysql database through a query. I can submit the value of the checked checkbox into a table from a database. But I want it to be saved according to the sequence the checkbox was checked by the user. …

Member Avatar for urtrivedi
0
4K
Member Avatar for klemme

Hi all, I am animating the bg color of some links. But I have changed the bg color of each link, so they have unique bg colors. When I use the jq function i normally use, It doesnt work properly because I can only animate back to one specific color, …

Member Avatar for klemme
0
295
Member Avatar for johncatman

I would like my vb2010 program to click on a javascript element on this webpage depending upon what they choose, here is the source of the rating system, thanks in advance: <div class="basic-info-rating basic-info-user-rating" style="display:none"> <div class="rating quick-rating"> <p class="average rating-3">3 stars</p> <ol class="user" data-analytics='{"click_id":1865,"events":"event6,event7,event24"}' data-ypid="5550608"> <li class="rating-1"> <a data-analytics='{"rating":1}' …

Member Avatar for G_Waddell
0
248
Member Avatar for chira9na9pal

function productview(view) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("product_view").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","product_ajax.php?result="+view,true); xmlhttp.send(); }

Member Avatar for chira9na9pal
0
260
Member Avatar for rzait

I'm making a project work that encrypt and decrypt the email text using rsa, the rsa function to create an extension thunderbird add-ons. and almost finished, but I get the awkwardness when starting encryption, namely refernce error: new BigInteger is not deifned. hopefully the master javascript can help me, and …

Member Avatar for iamthwee
0
79
Member Avatar for jckb188

I have resorted to everything I can think of and I can't get a PHP variable to go into a form that is onclicked with a Javascript Function... Here is my attempts thus far: 1. Give the div that contains the onclick function the php variable as an id, and …

Member Avatar for Airshow
0
316
Member Avatar for aiki985

I trying to learn HTML by studying code from a downloaded web site. In the HTML code is the following snippet of Javascript. I am so new to Javascript and HTML and have no clue what this snippet is for. Any ideas? function gID(name) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS …

Member Avatar for aiki985
0
181
Member Avatar for kaosjon

Hi, i have this part of my code that is put through a while loop, in other words it basically displays a lot of different products for an online shop, what i want is that when the add button on one of the products is clicked, it takes the quantity …

Member Avatar for ckchaudhary
0
185
Member Avatar for johndohmen1963

i have the folowing code <?php $datumeind = date("Y-m-d");// current date $datumverleden = strtotime(date("Y-m-d", strtotime($datumeind)) . " -99 year");//current date -99 years $datumbegin = date('Y-m-d', $datumverleden); if(isset($_POST['zenden'])) { if($geboorte_datum <= $datumbegin && $inleven_dood == 'In leven' ){ ?> <script type="text/javascript"> <!-- var r=confirm("Klik ok als In Leven."); if (r==true) ("<?php …

Member Avatar for Citytech.tester
0
202
Member Avatar for venkyb47

Hi I am unable to retrieve values from json object.The json data as coming like this when observe from firebug : [{"PROJECT_ID":"CASEENO"},{"PROJECT_ID":"DARKROOM-2"}] This is my ajax code: $.ajax({ type: "POST", url: "getdata.php", dataType: "json", data: { 'dataString': projectid }, cache:false, success: function(data){ alert(data); for (var i = 0; i < …

Member Avatar for venkyb47
0
246
Member Avatar for nikita.chandra

Hi! Anyone can please tell me the best online tutorial of Ajax for Java Programmers. Thanks

Member Avatar for sayyapillai
0
78
Member Avatar for thak123

I want to get a pop like save As in a HTML page .In the Page i am writing all my data And I append it to a variable . And i attach it to a tag in the page which is the hyperlink to save the file . I …

0
67
Member Avatar for pawan768

I use 4 radio button with the same name , and with same className, When Ever I try to get the value by using JavaScript it gave an value "Undefind" ,How to over come this???? alert(document.getElementsByName(m1).value); this is used by me to get the value of m1 name radio button …

Member Avatar for iamthwee
0
207
Member Avatar for jonsan32

**I have a fairly simple script, but I'm having trouble sizing up my randomly displayed images. I want them all to have the height of 150px. Any help would be great. Thanks! code below:** <script type="text/javascript"> window.addEventListener?window.addEventListener('load',function() { ray.rand('thisCell'); },false): window.attachEvent('onload',function() { ray.rand('thisCell'); }); // FF : IE1 var ray= …

Member Avatar for jonsan32
0
212

The End.